]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: meson_wdt: Use device_get_match_data() helper
authorTian Tao <tiantao6@hisilicon.com>
Thu, 1 Apr 2021 02:25:21 +0000 (10:25 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 21 Jun 2021 06:49:05 +0000 (08:49 +0200)
commitf1b0f02d53fddbc9c4fa970efad705d6987a2d65
tree621bc85ce5e38b8347b14eab83d4d39bb78c707f
parenta1f7c5782f0508bb2bdbd36c44b946eec0d479b9
watchdog: meson_wdt: Use device_get_match_data() helper

Use the device_get_match_data() helper instead of open coding.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/1617243921-56774-1-git-send-email-tiantao6@hisilicon.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/meson_wdt.c