Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 335815
b: refs/heads/master
c: cbf24fa
h: refs/heads/master
i:
  335813: a4b6d88
  335811: c6528f6
  335807: fbe74a0
v: v3
  • Loading branch information
Daniel M. Weeks authored and Linus Walleij committed Nov 17, 2012
1 parent 71da64f commit 9734b25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cb144fe8e0e70ccb12e93c9c9f010a25b3f2a158
refs/heads/master: cbf24fad8e6e97b7cd7dd1099f5b801689dc234a
6 changes: 3 additions & 3 deletions trunk/drivers/gpio/gpio-mcp23s08.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ struct mcp23s08_driver_data {

/*----------------------------------------------------------------------*/

#ifdef CONFIG_I2C
#if IS_ENABLED(CONFIG_I2C)

static int mcp23008_read(struct mcp23s08 *mcp, unsigned reg)
{
Expand Down Expand Up @@ -399,7 +399,7 @@ static int mcp23s08_probe_one(struct mcp23s08 *mcp, struct device *dev,
break;
#endif /* CONFIG_SPI_MASTER */

#ifdef CONFIG_I2C
#if IS_ENABLED(CONFIG_I2C)
case MCP_TYPE_008:
mcp->ops = &mcp23008_ops;
mcp->chip.ngpio = 8;
Expand Down Expand Up @@ -473,7 +473,7 @@ static int mcp23s08_probe_one(struct mcp23s08 *mcp, struct device *dev,

/*----------------------------------------------------------------------*/

#ifdef CONFIG_I2C
#if IS_ENABLED(CONFIG_I2C)

static int __devinit mcp230xx_probe(struct i2c_client *client,
const struct i2c_device_id *id)
Expand Down

0 comments on commit 9734b25

Please sign in to comment.