OpenCloudOS-Kernel/drivers/pnp
Zhen Lei 3935787ebd PNP: use DEVICE_ATTR_RO macro
Use DEVICE_ATTR_RO macro helper instead of plain DEVICE_ATTR, which makes
the code a bit shorter and easier to read.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2021-06-07 16:24:14 +02:00
..
isapnp drivers: pnp: isapnp: proc.c: Remove unnecessary local variables 2021-05-17 16:47:59 +02:00
pnpacpi treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 150 2019-05-30 11:25:19 -07:00
pnpbios PNP: pnpbios: Use DEFINE_SPINLOCK() for spinlock 2021-01-22 16:22:57 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
base.h PNP: Remove pnp_alloc() 2021-05-17 16:54:01 +02:00
card.c PNP: use DEVICE_ATTR_RO macro 2021-06-07 16:24:14 +02:00
core.c PNP: Switch over to dev_dbg() 2021-05-17 16:57:18 +02:00
driver.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
interface.c PNP: Remove pnp_alloc() 2021-05-17 16:54:01 +02:00
manager.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
quirks.c PNP: quirks: Fix duplicate included pci.h 2020-09-25 18:01:06 +02:00
resource.c PNP: Switch over to dev_dbg() 2021-05-17 16:57:18 +02:00
support.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
system.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00