leds: leds-pca955x: Use dev_info instead of printk

Fixes the following checkpatch warning:
WARNING: Prefer netdev_info(netdev, ... then dev_info(dev, ...
then pr_info(...  to printk(KERN_INFO ...

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
This commit is contained in:
Sachin Kamat 2012-11-25 12:21:47 +05:30 коммит произвёл Bryan Wu
Родитель 6023ff738a
Коммит b40b0c17d7
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -277,7 +277,7 @@ static int __devinit pca955x_probe(struct i2c_client *client,
return -ENODEV;
}
printk(KERN_INFO "leds-pca955x: Using %s %d-bit LED driver at "
dev_info(&client->dev, "leds-pca955x: Using %s %d-bit LED driver at "
"slave address 0x%02x\n",
id->name, chip->bits, client->addr);