[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4EF0EF8B.1030904@xenotime.net>
Date: Tue, 20 Dec 2011 12:26:51 -0800
From: Randy Dunlap <rdunlap@...otime.net>
To: NeilBrown <neilb@...e.de>
CC: Andrew Morton <akpm@...ux-foundation.org>, rpurdie@...ys.net,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] leds-tca6507: allow driver to compile when GPIOLIB
is not available.
On 12/20/2011 12:16 PM, Randy Dunlap wrote:
> On 12/19/2011 09:44 PM, NeilBrown wrote:
>> This driver can configure the outputs as GPIO line instead of LEDs. But
>> that only works if GPIOLIB is available. So make that code conditional
>> on the library's availability.
>>
>> Also remove the 'teardown' callback as it is never called and should
>> never be needed.
>>
>> Signed-off-by: NeilBrown <neilb@...e.de>
>
> Thanks. This builds.
>
> Acked-by: Randy Dunlap <rdunlap@...otime.net>
Neil,
You might want to check this also:
drivers/leds/leds-tca6507.c:358:17: warning: array subscript is above array bounds
drivers/leds/leds-tca6507.c:357:17: warning: array subscript is above array bounds
--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists