diff options
author | [email protected] <[email protected]> | 2017-07-25 13:25:58 +0200 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2017-09-09 20:55:26 +0200 |
commit | a1f2a82072ea298ae91505c213f6d299ddb5e446 (patch) | |
tree | 2c49b54648e661e7b354d16da0d1eb268926b23a /tools/perf/scripts/python/call-graph-from-sql.py | |
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 <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions