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 /fs/btrfs/tree-log.h | |
parent | watchdog: bcm7038: Check the return value from clk_prepare_enable() (diff) | |
download | linux-a1f2a82072ea298ae91505c213f6d299ddb5e446.tar.xz linux-a1f2a82072ea298ae91505c213f6d299ddb5e446.zip |
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 '')
0 files changed, 0 insertions, 0 deletions