diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-06-08 12:56:01 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2019-06-23 18:03:11 +0200 |
commit | df324c606aafa16045542b3129de577d7a4ca3b6 (patch) | |
tree | f5fd4dfa4e02bbd6ce1bbbcf8f1e272163a1c671 /CREDITS | |
parent | power: supply: max17042_battery: simplify getting the adapter of a client (diff) | |
download | linux-df324c606aafa16045542b3129de577d7a4ca3b6.tar.xz linux-df324c606aafa16045542b3129de577d7a4ca3b6.zip |
power: supply: rt5033_battery: simplify getting the adapter of a client
We have a dedicated pointer for that, so use it. Much easier to read and
less computation involved.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions