Re: [PATCH] spi: use gpio_request_one() instead of spi_gpio_alloc()helper function

From: Axel Lin
Date: Wed Dec 07 2011 - 20:36:44 EST


2011/12/8 Wolfram Sang <w.sang@xxxxxxxxxxxxxx>:
> On Mon, Dec 05, 2011 at 03:50:47PM +0800, Axel Lin wrote:
>> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
>
> This will make the driver depend on GPIOLIB, currently it depends only
> on GENERIC_GPIO. That needs to be addressed and made sure it won't cause
> a regression for the in-kernel users.
>
Ah. You are right.
GPIOLIB can be optional or not available at all in some
architecture/configurations.
Thanks for your review.

Axel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/