summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-aspeed.c
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2022-09-21 14:46:21 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2022-10-13 01:17:21 +0300
commit31b108acc50cddf3d16472ead45c4cd0d1337289 (patch)
tree748f583a1574e827e9338c66804dda1ea37c29a9 /drivers/rtc/rtc-aspeed.c
parent7093b8a471f48d49891da2108f44fd64742408cb (diff)
downloadlinux-31b108acc50cddf3d16472ead45c4cd0d1337289.tar.xz
rtc: isl12022: use dev_set_drvdata() instead of i2c_set_clientdata()
As another preparation for removing direct references to the i2c_client in the helper functions, stash a pointer to the private data via dev_set_drvdata() instead of i2c_set_clientdata(). Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Link: https://lore.kernel.org/r/20220921114624.3250848-7-linux@rasmusvillemoes.dk Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-aspeed.c')
0 files changed, 0 insertions, 0 deletions