[PATCH 1/7] i2c-bcm2708: fix message printed at probe time
Stephen Warren
swarren at wwwdotorg.org
Mon May 28 02:05:49 EDT 2012
On 05/26/2012 03:19 PM, Chris Boot wrote:
> Signed-off-by: Chris Boot <bootc at bootc.net>
> diff --git a/drivers/i2c/busses/i2c-bcm2708.c b/drivers/i2c/busses/i2c-bcm2708.c
> - dev_info(&pdev->dev, "BSC%d Controller at 0x%08lx (irq %d)\n",
> - pdev->id, (unsigned long)iomem.start, irq);
> + dev_info(&pdev->dev, "Broadcom BCM2708 BSC controller at 0x%08lx (irq %d)\n",
> + (unsigned long)iomem.start, irq);
I guess that's fine, but it's a bit redundant; dev_info prints the
driver name, which already includes that extra information.
More information about the linux-rpi-kernel
mailing list