diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2019-09-24 10:07:08 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-11-18 21:53:39 +0300 |
commit | 86865322d227c82dd6edc5970d5b554a391fb2eb (patch) | |
tree | f00a7036a130f217264891f1772c384d5494e945 /drivers/watchdog/wafer5823wdt.c | |
parent | ebe66ded6d4cdf6fb48d8fec56c73acc631953e8 (diff) | |
download | linux-86865322d227c82dd6edc5970d5b554a391fb2eb.tar.xz |
watchdog: imx2_wdt: Use 'dev' instead of dereferencing it repeatedly
Add helper variable dev = &pdev->dev to simply the code.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/1569308828-8320-3-git-send-email-Anson.Huang@nxp.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/wafer5823wdt.c')
0 files changed, 0 insertions, 0 deletions