diff options
author | fzuuzf@googlemail.com <fzuuzf@googlemail.com> | 2017-07-25 13:25:58 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2017-09-09 20:55:26 +0200 |
commit | a1f2a82072ea298ae91505c213f6d299ddb5e446 (patch) | |
tree | 2c49b54648e661e7b354d16da0d1eb268926b23a /Documentation | |
parent | dd0a18ca4cbdce00bc2b2e0510793205af27c7c5 (diff) |
watchdog: da9063_wdt: Simplify by removing unneeded struct...
...da9063_watchdog, which contained nothing but struct watchdog_device and a
struct da9063 pointer.
Assign the struct da9063 pointer directly to the struct watchdog_device's
driver_data field instead of creating struct da9063_watchdog and assigning
it's address there.
Spares a pointer's size data memory and an indirection level in the callbacks.
Signed-off-by: Karsten Wiese <fzuuzf@googlemail.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 'Documentation')
0 files changed, 0 insertions, 0 deletions