Re: [PATCH v3 3/3] spi: acpi: Initialize modalias from of_compatible
From: Andy Shevchenko
Date: Fri Jan 27 2017 - 08:49:57 EST
On Fri, Jan 27, 2017 at 12:35 PM, Dan O'Donovan <dan@xxxxxxxxxx> wrote:
> On 01/23/2017 05:11 PM, Andy Shevchenko wrote:
>> On Mon, Jan 23, 2017 at 6:08 PM, Dan O'Donovan <dan@xxxxxxxxxx> wrote:
>>> + strlcpy(spi->modalias, acpi_device_hid(adev),
>>> + sizeof(spi->modalias));
>> Could this be one line?
> I couldn't see a way to reduce this to one line without exceeding 80
> chars or adding another line somewhere else, so I'll leave this one as
> it is if that's ok.
80 characters per line is not carved in stone. How many do you have
over? 3 like "s);"?
With Best Regards,