On Fri, 18 Jul 2008 16:48:09 +1000
Ben Nizette <bn@niasdigital.com> wrote:
Indeed. The if (data) check is useless too since we make sure data
always points to something.
We should probably set the invalid pins to something like -EINVAL
eventually, but for now GPIO_PIN_NONE is consistent with everything
else around there.
Yes, including linux/err.h is definitely the right thing to do.
I've applied it to the avr32 tree since it touches mostly avr32 arch
code. Thanks a lot, Ben!
Haavard
--