aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorJean Delvare <[email protected]>2007-09-09 20:29:13 +0000
committerJean Delvare <[email protected]>2007-09-09 20:29:13 +0000
commit51e5709ad46127da9476f31336113b5401f94dba (patch)
treeb5ac346545ef80576843143108060125f9c6bbd2 /drivers/i2c/algos/i2c-algo-bit.c
parenti2c-gpio: Fix adapter number (diff)
downloadkernel-51e5709ad46127da9476f31336113b5401f94dba.tar.gz
kernel-51e5709ad46127da9476f31336113b5401f94dba.zip
i2c-pxa: Fix adapter number
It turns out that platform_device.id is a "u32" so testing it for being nonnegative is useless when setting up an i2c adapte. Instead, do what the platform_bus code does and test it against the value "-1". Signed-off-by: Jean Delvare <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions