driverfs: add glue layer for drivers to export attributes via driverfs
This defines struct driver_attribute so device drivers themselves can export attributes via driverfs. The macro DRIVER_ATTR is defined for declaring the attributes. driver_{create,remove}_file are implemented for creating and removing files.
Showing
Please register or sign in to comment