aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/rtc
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tbogendoerfer@suse.de>2019-04-11 16:33:21 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-04-12 12:23:20 +0200
commit692802d26b3ae3578fe77ada89b58217fe1c3d75 (patch)
tree21ac4f10766b86eff74724b41cf1c15e8225c264 /include/linux/rtc
parentrtc: lpc32xx: convert to SPDX identifier (diff)
downloadwireguard-linux-692802d26b3ae3578fe77ada89b58217fe1c3d75.tar.xz
wireguard-linux-692802d26b3ae3578fe77ada89b58217fe1c3d75.zip
rtc: ds1685: fix crash caused by referencing wrong device struct
sysfs entries added by rtc_add_group are called with the rtc device as argument and not the underlying device. Fixed by using the dev->parent Fixes: cfb74916e2ec ("rtc: ds1685: use rtc_add_group") Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'include/linux/rtc')
0 files changed, 0 insertions, 0 deletions