aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorNikita Travkin <nikita@trvn.ru>2024-06-05 18:53:27 +0500
committerSebastian Reichel <sebastian.reichel@collabora.com>2024-06-05 23:38:31 +0200
commitd3911f1639e67fc7b12aae0efa5a540976d7443b (patch)
tree5cdbc6b17955bc4bf14a356860a51f2fcdaaa07c /lib/crypto/mpi/mpi-internal.h
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff)
power: supply: rt5033: Bring back i2c_set_clientdata
Commit 3a93da231c12 ("power: supply: rt5033: Use devm_power_supply_register() helper") reworked the driver to use devm. While at it, the i2c_set_clientdata was dropped along with the remove callback. Unfortunately other parts of the driver also rely on i2c clientdata so this causes kernel oops. Bring the call back to fix the driver. Fixes: 3a93da231c12 ("power: supply: rt5033: Use devm_power_supply_register() helper") Tested-by: Raymond Hackley <raymondhackley@protonmail.com> Signed-off-by: Nikita Travkin <nikita@trvn.ru> Link: https://lore.kernel.org/r/20240605-rt5033-null-clientdata-v1-1-558d710eeb4d@trvn.ru Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'lib/crypto/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions