rtc: pm8xxx: rename struct device pointer
authorJohan Hovold <johan+linaro@kernel.org>
Thu, 2 Feb 2023 15:54:35 +0000 (16:54 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 9 Feb 2023 22:23:44 +0000 (23:23 +0100)
commita375510efeda0dfbad205cd1de8b57f63d0779c9
treeab086f202e63d950c960c170ffe8f600f1d8a56b
parentc996956fcc5b7756eb04615cc36618acaa85caa9
rtc: pm8xxx: rename struct device pointer

Rename the driver-data struct device pointer by dropping the "rtc"
prefix which is both redundant and misleading (as this is a pointer to
the platform device and not the rtc class device).

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: David Collins <quic_collinsd@quicinc.com>
Link: https://lore.kernel.org/r/20230202155448.6715-10-johan+linaro@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pm8xxx.c