On 23/04/2019 15:50:16+0800, Kefeng Wang wrote: > Using dev_get_drvdata directly. > > Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx> > Cc: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx> > Cc: linux-rtc@xxxxxxxxxxxxxxx > Signed-off-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx> > --- > drivers/rtc/rtc-hid-sensor-time.c | 3 +-- > drivers/rtc/rtc-pxa.c | 3 +-- > drivers/rtc/rtc-rk808.c | 6 ++---- > drivers/rtc/rtc-tx4939.c | 17 ++++++----------- > drivers/rtc/rtc-wm831x.c | 18 +++++++----------- > drivers/rtc/rtc-wm8350.c | 12 ++++-------- > 6 files changed, 21 insertions(+), 38 deletions(-) > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com