summaryrefslogtreecommitdiff
path: root/init/noinitramfs.c
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe.montjoie@gmail.com>2017-10-21 20:45:13 +0300
committerWim Van Sebroeck <wim@iguana.be>2017-12-28 22:45:12 +0300
commite531037145df630ff9d7be3858497388cc700f79 (patch)
treeeaa24205264459aef5a087e5295604f836cba6ac /init/noinitramfs.c
parentb6c84c9ff3f48a476451eceb5e8478b8aadda8dc (diff)
downloadlinux-e531037145df630ff9d7be3858497388cc700f79.tar.xz
watchdog: sunxi_wdt: use of_device_get_match_data
The usage of of_device_get_match_data reduce the code size a bit. Furthermore, it prevents an improbable dereference when of_match_device() return NULL. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'init/noinitramfs.c')
0 files changed, 0 insertions, 0 deletions