diff options
| author | Michał Kępień <kernel@kempniu.pl> | 2017-02-24 11:33:08 +0100 |
|---|---|---|
| committer | Darren Hart <dvhart@infradead.org> | 2017-03-14 22:57:11 -0700 |
| commit | 175cc9b72fb5ca65dfb79e7c2500304476486717 (patch) | |
| tree | 85110439a3562d93d71bc9fb9e3ce882dbfdce01 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | platform/x86: intel-hid: make intel_hid_set_enable() take a boolean argument (diff) | |
| download | linux-175cc9b72fb5ca65dfb79e7c2500304476486717.tar.gz linux-175cc9b72fb5ca65dfb79e7c2500304476486717.zip | |
platform/x86: intel-hid: use devm_input_allocate_device() for HID events input device
intel_hid_input_setup() is only called from the platform driver's .probe
callback. Use the devm variant of input_allocate_device() for
allocating memory for the HID events input device in order to simplify
two error paths and get rid of intel_hid_input_destroy().
Signed-off-by: Michał Kępień <kernel@kempniu.pl>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-and-tested-by: Alex Hung <alex.hung@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
