missing argument in bin_attribute ->read()/->write()

Fallout from commit 91a6902958f052358899f58683d44e36228d85c2 ('sysfs:
add parameter "struct bin_attribute *" ...')

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Al Viro and committed by Linus Torvalds 05bd711e ececfdee

+11 -11
+5 -5
arch/s390/kernel/ipl.c
··· 295 295 static struct subsys_attribute sys_ipl_device_attr = 296 296 __ATTR(device, S_IRUGO, sys_ipl_device_show, NULL); 297 297 298 - static ssize_t ipl_parameter_read(struct kobject *kobj, char *buf, loff_t off, 299 - size_t count) 298 + static ssize_t ipl_parameter_read(struct kobject *kobj, struct bin_attribute *attr, 299 + char *buf, loff_t off, size_t count) 300 300 { 301 301 unsigned int size = IPL_PARMBLOCK_SIZE; 302 302 ··· 317 317 .read = &ipl_parameter_read, 318 318 }; 319 319 320 - static ssize_t ipl_scp_data_read(struct kobject *kobj, char *buf, loff_t off, 321 - size_t count) 320 + static ssize_t ipl_scp_data_read(struct kobject *kobj, struct bin_attribute *attr, 321 + char *buf, loff_t off, size_t count) 322 322 { 323 323 unsigned int size = IPL_PARMBLOCK_START->ipl_info.fcp.scp_data_len; 324 324 void *scp_data = &IPL_PARMBLOCK_START->ipl_info.fcp.scp_data; ··· 337 337 .mode = S_IRUGO, 338 338 }, 339 339 .size = PAGE_SIZE, 340 - .read = &ipl_scp_data_read, 340 + .read = ipl_scp_data_read, 341 341 }; 342 342 343 343 /* FCP ipl device attributes */
+4 -4
drivers/i2c/chips/ds1682.c
··· 140 140 /* 141 141 * User data attribute 142 142 */ 143 - static ssize_t ds1682_eeprom_read(struct kobject *kobj, char *buf, loff_t off, 144 - size_t count) 143 + static ssize_t ds1682_eeprom_read(struct kobject *kobj, struct bin_attribute *attr, 144 + char *buf, loff_t off, size_t count) 145 145 { 146 146 struct i2c_client *client = kobj_to_i2c_client(kobj); 147 147 int rc; ··· 163 163 return count; 164 164 } 165 165 166 - static ssize_t ds1682_eeprom_write(struct kobject *kobj, char *buf, loff_t off, 167 - size_t count) 166 + static ssize_t ds1682_eeprom_write(struct kobject *kobj, struct bin_attribute *attr, 167 + char *buf, loff_t off, size_t count) 168 168 { 169 169 struct i2c_client *client = kobj_to_i2c_client(kobj); 170 170
+2 -2
drivers/w1/slaves/w1_ds2760.c
··· 68 68 return w1_ds2760_io(dev, buf, addr, count, 1); 69 69 } 70 70 71 - static ssize_t w1_ds2760_read_bin(struct kobject *kobj, char *buf, loff_t off, 72 - size_t count) 71 + static ssize_t w1_ds2760_read_bin(struct kobject *kobj, struct bin_attribute *attr, 72 + char *buf, loff_t off, size_t count) 73 73 { 74 74 struct device *dev = container_of(kobj, struct device, kobj); 75 75 return w1_ds2760_read(dev, buf, off, count);