driver core: location: Add "back" as a possible output for panel
PATCH 1/1 driver core: location: Add "back" as a possible output for panel
Add "back" as a possible panel output when _PLD output from ACPI indicates back panel.
Fixes 6423d2951087 ("driver core: Add sysfs support for physical location of a device")
Signed-off-by Won Chung <[email protected]>
--- drivers/base/physical_location.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/base/physical_location.c +3 -0
@@ -56,6 +56,9 @@ static ssize_t panel_show(struct device *dev, struct device_attribute *attr,case DEVICE_PANEL_FRONT : panel ="front" ;break ; +case DEVICE_PANEL_BACK : + panel ="back" ; +break ;default : panel ="unknown" ; }
Signature · 1 line
2.36.0.512.ge40c2bad7a-goog