summaryrefslogtreecommitdiff
path: root/drivers/power/collie_battery.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-04-04 14:17:36 +0300
committerMarc Zyngier <marc.zyngier@arm.com>2016-05-11 10:12:13 +0100
commit086eec2de00ef5c1ac12ddb5a537289fbdc22689 (patch)
treeaedaf5ed37e923db6e6321849e100373cce58cff /drivers/power/collie_battery.c
parent074f23b675f9f2a9c51c16ecefd06b4658d5e629 (diff)
irqchip/mbigen: Checking for IS_ERR() instead of NULL
of_platform_device_create() returns NULL on error, it never returns error pointers. Fixes: ed2a1002d25c ('irqchip/mbigen: Handle multiple device nodes in a mbigen module') Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/power/collie_battery.c')
0 files changed, 0 insertions, 0 deletions