rtc: Use dev_get_drvdata()
authorKefeng Wang <wangkefeng.wang@huawei.com>
Tue, 23 Apr 2019 07:50:16 +0000 (15:50 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 29 Apr 2019 13:53:43 +0000 (15:53 +0200)
commit527bd754d1ffc4bbd89a33c643e74c53d713eb4e
treef2adaae984ff1e29070cb40a8804ea387df3fd7e
parentc8889bb6e62f17822419bd253a08c96aee963722
rtc: Use dev_get_drvdata()

Using dev_get_drvdata directly.

Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: linux-rtc@vger.kernel.org
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-hid-sensor-time.c
drivers/rtc/rtc-pxa.c
drivers/rtc/rtc-rk808.c
drivers/rtc/rtc-tx4939.c
drivers/rtc/rtc-wm831x.c
drivers/rtc/rtc-wm8350.c