diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-02-22 11:00:03 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-02-26 19:10:56 +0000 |
| commit | 024f5d4f0ac087f73732a3084bdea5029ab0ca6b (patch) | |
| tree | 777110a32129ccb2ec25c8fd39917d41139cf75b /tools/perf/scripts/python | |
| parent | iio: accel: adxl345: Convert to use dev_err_probe() (diff) | |
| download | linux-024f5d4f0ac087f73732a3084bdea5029ab0ca6b.tar.gz linux-024f5d4f0ac087f73732a3084bdea5029ab0ca6b.zip | |
iio: accel: adxl345: Set driver_data for OF enumeration
In order to enable this driver on mode platforms, assign driver_data
field in the OF device ID table.
While at it, make sure that device type is not 0 which may be wrongly
interpreted by device property APIs in the future.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Link: https://lore.kernel.org/r/20220222090009.2060-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
