aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/algos/i2c-algo-bit.c
diff options
context:
space:
mode:
authorDavid Brownell <[email protected]>2008-07-14 20:38:24 +0000
committerJean Delvare <[email protected]>2008-07-14 20:38:24 +0000
commit6ea438ec8da4ec56bf415f5ea360e6b0cb59c6c3 (patch)
treebfaca562cfa95e71f7e7efe44d67f245d59b32f6 /drivers/i2c/algos/i2c-algo-bit.c
parenti2c: Kerneldoc for most I/O calls (diff)
downloadkernel-6ea438ec8da4ec56bf415f5ea360e6b0cb59c6c3.tar.gz
kernel-6ea438ec8da4ec56bf415f5ea360e6b0cb59c6c3.zip
i2c: i2c_use_client() defends against NULL
Defend the i2c refcount calls against NULL pointers, as is important (and conventional) for such calls. Note that none of the current callers of i2c_use_client() use its return value. [JD: I hate this but apparently all the other subsystems do it so...] Signed-off-by: David Brownell <[email protected]> Signed-off-by: Jean Delvare <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions