Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Peter Meerwald <p.meerwald@bct-electronic.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
const struct i2c_device_id *id)
{
struct pca9633_led *pca9633;
- struct i2c_adapter *adapter;
struct led_platform_data *pdata;
int i, err;
- adapter = to_i2c_adapter(client->dev.parent);
pdata = client->dev.platform_data;
if (pdata) {