mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 01:23:56 +02:00
usb: misc: usb3503_probe() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c0304996ba
commit
74ff31b81d
|
|
@ -178,7 +178,7 @@ static int usb3503_switch_mode(struct usb3503 *hub, enum usb3503_mode mode)
|
|||
return err;
|
||||
}
|
||||
|
||||
int usb3503_probe(struct i2c_client *i2c, const struct i2c_device_id *id)
|
||||
static int usb3503_probe(struct i2c_client *i2c, const struct i2c_device_id *id)
|
||||
{
|
||||
struct usb3503_platform_data *pdata = i2c->dev.platform_data;
|
||||
struct usb3503 *hub;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user