aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-mcp23s08.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-mcp23s08.c')
-rw-r--r--drivers/gpio/gpio-mcp23s08.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-mcp23s08.c b/drivers/gpio/gpio-mcp23s08.c
index ce1c84760076..3cea0ea79e80 100644
--- a/drivers/gpio/gpio-mcp23s08.c
+++ b/drivers/gpio/gpio-mcp23s08.c
@@ -475,7 +475,7 @@ fail:
475 475
476#if IS_ENABLED(CONFIG_I2C) 476#if IS_ENABLED(CONFIG_I2C)
477 477
478static int __devinit mcp230xx_probe(struct i2c_client *client, 478static int mcp230xx_probe(struct i2c_client *client,
479 const struct i2c_device_id *id) 479 const struct i2c_device_id *id)
480{ 480{
481 struct mcp23s08_platform_data *pdata; 481 struct mcp23s08_platform_data *pdata;
@@ -508,7 +508,7 @@ fail:
508 return status; 508 return status;
509} 509}
510 510
511static int __devexit mcp230xx_remove(struct i2c_client *client) 511static int mcp230xx_remove(struct i2c_client *client)
512{ 512{
513 struct mcp23s08 *mcp = i2c_get_clientdata(client); 513 struct mcp23s08 *mcp = i2c_get_clientdata(client);
514 int status; 514 int status;
@@ -533,7 +533,7 @@ static struct i2c_driver mcp230xx_driver = {
533 .owner = THIS_MODULE, 533 .owner = THIS_MODULE,
534 }, 534 },
535 .probe = mcp230xx_probe, 535 .probe = mcp230xx_probe,
536 .remove = __devexit_p(mcp230xx_remove), 536 .remove = mcp230xx_remove,
537 .id_table = mcp230xx_id, 537 .id_table = mcp230xx_id,
538}; 538};
539 539