diff options
author | H. Nikolaus Schaller <hns@goldelico.com> | 2018-06-26 15:28:30 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2018-07-06 18:58:44 +0200 |
commit | a427503edaaed9b75ed9746a654cece7e93e60a8 (patch) | |
tree | fba7ca50cfe6df3c412bd426692d8999c9d919b3 /drivers/thermal/thermal_sysfs.c | |
parent | 932d47448c3caa0fa99e84d7f5bc302aa286efd8 (diff) |
power: generic-adc-battery: check for duplicate properties copied from iio channels
If an iio channel defines a basic property, there are duplicate entries
in /sys/class/power/*/uevent.
So add a check to avoid duplicates. Since all channels may be duplicates,
we have to modify the related error check.
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Cc: stable@vger.kernel.org
Fixes: e60fea794e6e ("power: battery: Generic battery driver using IIO")
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'drivers/thermal/thermal_sysfs.c')
0 files changed, 0 insertions, 0 deletions