This small patch adds routines to create and remove bin_attribute files for class devices. One intended use is for binary files corresponding to PCI busses, like bus legacy I/O ports or ISA memory. drivers/base/class.c | 16 ++++++++++++++++ include/linux/device.h | 5 ++++- 2 files changed, 20 insertions(+), 1 deletion(-) Signed-off-by: Jesse Barnes Thanks, Jesse