summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-lt3593.c
diff options
context:
space:
mode:
authorSuraj Jitindar Singh2016-06-29 05:38:38 +0200
committerMichael Ellerman2016-06-29 09:33:18 +0200
commitd0226d315dba5e401a124b394a1af5e35e082b08 (patch)
tree1cd2e85e40b4e49bc53c7de0232d56f69f6daadf /drivers/leds/leds-lt3593.c
parentdevicetree/bindings: Add binding for operator panel on FSP machines (diff)
downloadkernel-qcow2-linux-d0226d315dba5e401a124b394a1af5e35e082b08.tar.gz
kernel-qcow2-linux-d0226d315dba5e401a124b394a1af5e35e082b08.tar.xz
kernel-qcow2-linux-d0226d315dba5e401a124b394a1af5e35e082b08.zip
powerpc/opal: Add inline function to get rc from an ASYNC_COMP opal_msg
An opal_msg of type OPAL_MSG_ASYNC_COMP contains the return code in the params[1] struct member. However this isn't intuitive or obvious when reading the code and requires that a user look at the skiboot documentation or opal-api.h to verify this. Add an inline function to get the return code from an opal_msg and update call sites accordingly. Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/leds/leds-lt3593.c')
0 files changed, 0 insertions, 0 deletions