Skip to content

Commit 0973e96

Browse files
jwrdegoedesre
authored andcommitted
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 <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
1 parent df6f3f7 commit 0973e96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/power/supply/axp288_fuel_gauge.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ static void fuel_gauge_init_irq(struct axp288_fg_info *info)
676676
* detection reports one despite it not being there.
677677
* Please keep this listed sorted alphabetically.
678678
*/
679-
static const struct dmi_system_id axp288_fuel_gauge_blacklist[] = {
679+
static const struct dmi_system_id axp288_no_battery_list[] = {
680680
{
681681
/* ACEPC T8 Cherry Trail Z8350 mini PC */
682682
.matches = {
@@ -764,7 +764,7 @@ static int axp288_fuel_gauge_probe(struct platform_device *pdev)
764764
};
765765
unsigned int val;
766766

767-
if (dmi_check_system(axp288_fuel_gauge_blacklist))
767+
if (dmi_check_system(axp288_no_battery_list))
768768
return -ENODEV;
769769

770770
/*

0 commit comments

Comments
 (0)