OSDN Git Service

docs: ABI: sysfs-class-backlight: unify ambient light zone nodes
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 19 May 2021 08:51:45 +0000 (10:51 +0200)
committerJonathan Corbet <corbet@lwn.net>
Thu, 20 May 2021 19:44:14 +0000 (13:44 -0600)
commit13d6f96750c89f7fc282788bd058559381ccec29
tree57ca8daeb745ef3a4aa902f13b3f76d19b19088d
parent5286bd25e2095d71d248fbfd2a55ca4333dfd77e
docs: ABI: sysfs-class-backlight: unify ambient light zone nodes

./scripts/get_abi.pl is warning about duplicated symbol
definition:

Warning: /sys/class/backlight/<backlight>/l1_daylight_max is defined 2 times:  ./Documentation/ABI/testing/sysfs-class-backlight-driver-adp8870:4  ./Documentation/ABI/testing/sysfs-class-backlight-adp8860:12

What happens is that 3 drivers use the same pattern to report
max and dim setting for different ambient light zones.

It should be noticed that the adp8870 doc was missing an
entry for l1_daylight_dim, which was fixed on this patch.

While the ambient light zone is device-specific, the sysfs
definition is actually common. So, unify them at:

Documentation/ABI/testing/sysfs-class-backlight

and use as the contact point, the e-mail reported by
get_maintainers.pl for the subsystem.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/c13c6ebd03cd04a0d15d89018f8d529918fc0a73.1621413933.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/ABI/testing/sysfs-class-backlight
Documentation/ABI/testing/sysfs-class-backlight-adp5520 [deleted file]
Documentation/ABI/testing/sysfs-class-backlight-adp8860 [deleted file]
Documentation/ABI/testing/sysfs-class-backlight-driver-adp8870 [deleted file]