Re: [PATCH 2/2] i2c-piix4: Use different message for AMD Auxiliary SMBus Controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 22 Jan 2014 14:06:52 -0800, Shane Huang wrote:
> Same messages for AMD main and auxiliary SMBus controllers lead to confusion,
> this patch is to remove confusion and keep consistent with non-AMD products.
> 
> Signed-off-by: Shane Huang <shane.huang@xxxxxxx>
> ---
>  drivers/i2c/busses/i2c-piix4.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/i2c/busses/i2c-piix4.c b/drivers/i2c/busses/i2c-piix4.c
> index f71b4d3..d82b8ab 100644
> --- a/drivers/i2c/busses/i2c-piix4.c
> +++ b/drivers/i2c/busses/i2c-piix4.c
> @@ -295,7 +295,8 @@ static int piix4_setup_sb800(struct pci_dev *PIIX4_dev,
>  	/* Aux SMBus does not support IRQ information */
>  	if (aux) {
>  		dev_info(&PIIX4_dev->dev,
> -			 "SMBus Host Controller at 0x%x\n", piix4_smba);
> +			 "Auxiliary SMBus Host Controller at 0x%x\n",
> +			 piix4_smba);
>  		return piix4_smba;
>  	}
>  

I like it very much, as it makes all these messages consistent across
devices. And this allows string re-use for a small gain in size.

Reviewed-by: Jean Delvare <khali@xxxxxxxxxxxx>

Wolfram, please apply.

-- 
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux