diff options
author | Stephen Boyd <[email protected]> | 2018-06-21 19:27:16 -0700 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2018-06-25 15:12:42 +0200 |
commit | d6f83894110de247a81392ab7ef89e5498df7e80 (patch) | |
tree | 6eaa205278dc4b6cc198cd9eae45b23f3579e19c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fdea70d26a471e002f2afc3a48821323b699f1e6 (diff) |
HID: i2c-hid: Use devm to allocate i2c_hid struct
Use devm here to save some lines and prepare for bulk regulator usage in
this driver. Otherwise, when we devm bulk get regulators we'll free the
containing i2c_hid structure and try to put regulator pointers from
freed memory.
Cc: Benjamin Tissoires <[email protected]>
Cc: Hans de Goede <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: Dmitry Torokhov <[email protected]>
Cc: Doug Anderson <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Acked-by: Benjamin Tissoires <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions