Commit a1f2a820 authored by Committed by Wim Van Sebroeck
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 <firstname.lastname@example.org> Reviewed-by: Guenter Roeck <email@example.com> Signed-off-by: Guenter Roeck <firstname.lastname@example.org> Signed-off-by: Wim Van Sebroeck <email@example.com>
Showing with 30 additions and 37 deletions