Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

i2c: cp2615: rename disconnect callback

Rename the driver disconnect function so that it reflects the callback
name for consistency with the rest of the kernel (e.g. makes it easier
to grep for).

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

authored by

Johan Hovold and committed by
Wolfram Sang
7a8d9fac a78295df

+2 -3
+2 -3
drivers/i2c/busses/i2c-cp2615.c
··· 270 270 .max_comb_2nd_msg_len = MAX_I2C_SIZE 271 271 }; 272 272 273 - static void 274 - cp2615_i2c_remove(struct usb_interface *usbif) 273 + static void cp2615_i2c_disconnect(struct usb_interface *usbif) 275 274 { 276 275 struct i2c_adapter *adap = usb_get_intfdata(usbif); 277 276 ··· 324 325 static struct usb_driver cp2615_i2c_driver = { 325 326 .name = "i2c-cp2615", 326 327 .probe = cp2615_i2c_probe, 327 - .disconnect = cp2615_i2c_remove, 328 + .disconnect = cp2615_i2c_disconnect, 328 329 .id_table = id_table, 329 330 }; 330 331