From b25f8641dd5d9f1cae312cc681ed26118d83db83 Mon Sep 17 00:00:00 2001 From: Patrick Mochel Date: Thu, 9 Jan 2003 05:30:43 -0600 Subject: sysfs: fix up device attribute read/write methods. Remove @off and @count from the sysfs_ops, and the core attribute methods. --- include/linux/device.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/linux') diff --git a/include/linux/device.h b/include/linux/device.h index 2e370a0eb3f5..ecba162850bc 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -319,8 +319,8 @@ extern void device_release_driver(struct device * dev); struct device_attribute { struct attribute attr; - ssize_t (*show)(struct device * dev, char * buf, size_t count, loff_t off); - ssize_t (*store)(struct device * dev, const char * buf, size_t count, loff_t off); + ssize_t (*show)(struct device * dev, char * buf); + ssize_t (*store)(struct device * dev, const char * buf); }; #define DEVICE_ATTR(_name,_mode,_show,_store) \ -- cgit v1.2.3