i2c-designware-pci: use dev_err() instead of printk()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 10 Apr 2013 00:36:37 +0000 (00:36 +0000)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 15 Apr 2013 16:16:59 +0000 (18:16 +0200)
commitca0c1ff528a332e6f83d4566c2c8eb05b108c83c
tree252de00b50fdc35e3cf788c074002cafd60111b1
parent1cb715ca46946b1ad32735d11830a84a433f2b1b
i2c-designware-pci: use dev_err() instead of printk()

With dev_err() we can get the device instance printed as well and is pretty
much standard to use dev_* macros in the drivers anyway. In addition
correct the indentation of probe() arguments.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-pcidrv.c