diff options
author | Hans de Goede <hdegoede@redhat.com> | 2021-06-17 21:27:01 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2021-06-30 00:08:52 +0200 |
commit | 0973e96b4bbd19aa50881a8e0e4653b824420de6 (patch) | |
tree | d6a2cca12e16323d5398b3c0fe3057bdb51539c0 /drivers/power | |
parent | df6f3f7eb70d310c3cee2d8e08ed32067fb6fcf4 (diff) | |
download | linux-stable-0973e96b4bbd19aa50881a8e0e4653b824420de6.tar.gz linux-stable-0973e96b4bbd19aa50881a8e0e4653b824420de6.tar.bz2 linux-stable-0973e96b4bbd19aa50881a8e0e4653b824420de6.zip |
power: supply: axp288_fuel_gauge: Rename fuel_gauge_blacklist to no_battery_list
As documented in the updated "Naming" chapter of
Documentation/process/coding-style.rst, usage of the work blacklist
should be avoided where possible.
Rename the list of devices which have no battery to the
axp288_no_battery_list, which also more accurately describes the
contents of the list.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/supply/axp288_fuel_gauge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/supply/axp288_fuel_gauge.c b/drivers/power/supply/axp288_fuel_gauge.c index 39e16ecb7638..b74c4acba25d 100644 --- a/drivers/power/supply/axp288_fuel_gauge.c +++ b/drivers/power/supply/axp288_fuel_gauge.c @@ -676,7 +676,7 @@ intr_failed: * detection reports one despite it not being there. * Please keep this listed sorted alphabetically. */ -static const struct dmi_system_id axp288_fuel_gauge_blacklist[] = { +static const struct dmi_system_id axp288_no_battery_list[] = { { /* ACEPC T8 Cherry Trail Z8350 mini PC */ .matches = { @@ -764,7 +764,7 @@ static int axp288_fuel_gauge_probe(struct platform_device *pdev) }; unsigned int val; - if (dmi_check_system(axp288_fuel_gauge_blacklist)) + if (dmi_check_system(axp288_no_battery_list)) return -ENODEV; /* |