Re: [PATCH 2/6] i2c: tegra: Remove non device-tree support

From: Jon Hunter
Date: Thu Aug 25 2016 - 18:12:59 EST



On 25/08/16 20:33, Wolfram Sang wrote:
> * PGP Signed by an unknown key
>
> On Thu, Aug 11, 2016 at 11:16:56AM +0100, Jon Hunter wrote:
>> Tegra has only supported device-tree for platform/board configuration
>> for quite some time now and so simplify the Tegra I2C driver by dropping
>> code for non device-tree platforms/boards.
>>
>> Signed-off-by: Jon Hunter <jonathanh@xxxxxxxxxx>
>
> cppcheck rightfully says:
>
> drivers/i2c/busses/i2c-tegra.c:854: style: Variable 'i2c_dev.hw' is reassigned a value before the old one has been used.
>
> Dropping the patches...

Yes good catch. I will fix that.

Cheers
Jon

--
nvpublic