aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/buffer.c
diff options
context:
space:
mode:
authorJean Delvare <[email protected]>2011-01-10 21:11:23 +0000
committerJean Delvare <[email protected]>2011-01-10 21:11:23 +0000
commitf451171c5ac829e55581c81caf2cb01e1c0a5c5f (patch)
tree519af0702a8348b043a721d996933b655236712e /drivers/usb/core/buffer.c
parenti2c: Add generic I2C multiplexer using GPIO API (diff)
downloadkernel-f451171c5ac829e55581c81caf2cb01e1c0a5c5f.tar.gz
kernel-f451171c5ac829e55581c81caf2cb01e1c0a5c5f.zip
i2c-algo-bit: Refactor adapter registration
Use a function pointer to decide whether to call i2c_add_adapter or i2c_add_numbered_adapter. This makes the code more compact than the current strategy of having the common code in a separate function. Signed-off-by: Jean Delvare <[email protected]>
Diffstat (limited to 'drivers/usb/core/buffer.c')
0 files changed, 0 insertions, 0 deletions