i2c: make i2c_get_adapter prototype clearer
commitd735b34db30b7891ff76b552d18ecb0ce04a2bc2
authorJean Delvare <khali@linux-fr.org>
Sun, 20 Mar 2011 13:50:52 +0000 (20 14:50 +0100)
committerJean Delvare <khali@endymion.delvare>
Sun, 20 Mar 2011 13:50:52 +0000 (20 14:50 +0100)
tree5918a83db26444ee3e42fa9824efb54995abf0bd
parent6ced9e6b3901af4ab6ac0a11231402c888286ea6
i2c: make i2c_get_adapter prototype clearer

Rename the parameter of i2c_get_adapter() to "nr", to make it clear we
are passing an adapter number and not an adapter ID (which have gone
away by now.)

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-core.c
include/linux/i2c.h