diff options
author | Andreas Dannenberg <[email protected]> | 2015-09-28 17:33:52 -0500 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2015-09-29 16:48:28 +0200 |
commit | 3b84b8efef054ba59e7679d1d430afb437aa4640 (patch) | |
tree | 4923b9d78abd0871a273579da87908ee285b5493 /lib/netdev-notifier-error-inject.c | |
parent | dfc602524b9f4ecc6de9a3050667412176db7c55 (diff) |
power: bq24257: Simplify bq24257_power_supply_init()
Eliminate a few lines of code by using the PTR_ERR_OR_ZERO() macro.
Signed-off-by: Andreas Dannenberg <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions