mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/3] ACPI/device_sysfs: Add sysfs support for _HRV hardware revision
@ 2016-04-30 16:03 Betty Dall
  2016-04-30 16:03 ` [PATCH v3 1/3] " Betty Dall
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Betty Dall @ 2016-04-30 16:03 UTC (permalink / raw)
  To: rjw, lenb, linux-acpi; +Cc: linux-kernel

The ACPI _HRV object on the device is used to supply Linux with the
device's hardware revision. This is an optional object. Add sysfs support
for the _HRV object if it exists on the device.

This change allows users to easily find the hardware version of non-PCI
hardware by looking at the sysfs 'hrv' file. It is most useful for
non-PCI devices because lspci can list the hardware version for PCI
devices.

v1->v2
	Changed hrv_show error return to -EIO.
	Changed sun_show and status_show error return to -EIO.
	Cleaned up checkpatch errors and warnings.

v2->v3
	Left some of the checkpatch warnings in place.

Betty Dall (3):
  ACPI/device_sysfs: Add sysfs support for _HRV hardware revision    
  ACPI/device_sysfs: Change _SUN and _STA show functions error return to EIO
  ACPI/device_sysfs: Clean up checkpatch errors

 drivers/acpi/device_sysfs.c | 44 +++++++++++++++++++++++++++++++++++---------
 1 file changed, 35 insertions(+), 9 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-05 23:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-30 16:03 [PATCH v3 0/3] ACPI/device_sysfs: Add sysfs support for _HRV hardware revision Betty Dall
2016-04-30 16:03 ` [PATCH v3 1/3] " Betty Dall
2016-04-30 16:03 ` [PATCH v3 2/3] ACPI/device_sysfs: Change _SUN and _STA show functions error return to EIO Betty Dall
2016-04-30 16:03 ` [PATCH v3 3/3] ACPI/device_sysfs: Clean up checkpatch errors Betty Dall
2016-05-05 23:42 ` [PATCH v3 0/3] ACPI/device_sysfs: Add sysfs support for _HRV hardware revision Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®