summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-06-27 01:47:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-20 16:21:09 +0200
commitac4e43703809d2d6aa4d74b71de7c8024c68470b (patch)
tree995f1a272e503135421f6a7943e974a874ad3444 /lib
parent35a6550405876a8d61d5d3a05aa24ee7fcdcc415 (diff)
downloadlinux-stable-ac4e43703809d2d6aa4d74b71de7c8024c68470b.tar.gz
linux-stable-ac4e43703809d2d6aa4d74b71de7c8024c68470b.tar.bz2
linux-stable-ac4e43703809d2d6aa4d74b71de7c8024c68470b.zip
power: supply: ab8500: Fix an old bug
commit f1c74a6c07e76fcb31a4bcc1f437c4361a2674ce upstream. Trying to get the AB8500 charging driver working I ran into a bit of bitrot: we haven't used the driver for a while so errors in refactorings won't be noticed. This one is pretty self evident: use argument to the macro or we end up with a random pointer to something else. Cc: stable@vger.kernel.org Cc: Krzysztof Kozlowski <krzk@kernel.org> Cc: Marcus Cooper <codekipper@gmail.com> Fixes: 297d716f6260 ("power_supply: Change ownership from driver to core") Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions