diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-10-22 08:28:51 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-11-28 10:50:53 -0200 |
commit | 4feca39b3d9a7480b5e622a0b4a29941c85cdcd2 (patch) | |
tree | aa4b04e5e29eb525c5218e940edd38129c7c3424 /drivers/media/platform/omap3isp/ispcsiphy.c | |
parent | aab84f55d45ff6838e708f0cb8e1c0166d339ef6 (diff) | |
download | blackbird-op-linux-4feca39b3d9a7480b5e622a0b4a29941c85cdcd2.tar.gz blackbird-op-linux-4feca39b3d9a7480b5e622a0b4a29941c85cdcd2.zip |
[media] omap3isp: Replace printk with dev_*
Use the dev_* message logging API instead of raw printk.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/omap3isp/ispcsiphy.c')
-rw-r--r-- | drivers/media/platform/omap3isp/ispcsiphy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/omap3isp/ispcsiphy.c b/drivers/media/platform/omap3isp/ispcsiphy.c index d6eb4f9655fe..3d56b33f85e8 100644 --- a/drivers/media/platform/omap3isp/ispcsiphy.c +++ b/drivers/media/platform/omap3isp/ispcsiphy.c @@ -157,7 +157,7 @@ static int csiphy_set_power(struct isp_csiphy *phy, u32 power) } while ((reg != power >> 2) && (retry_count < 100)); if (retry_count == 100) { - printk(KERN_ERR "CSI2 CIO set power failed!\n"); + dev_err(phy->isp->dev, "CSI2 CIO set power failed!\n"); return -EBUSY; } |