Re: [PATCH] avr32: clean up mci platform code

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ben Nizette <bn@...>
Cc: Pierre Ossman <drzeus-mmc@...>, linux-kernel <linux-kernel@...>, kernel <kernel@...>
Date: Friday, July 18, 2008 - 5:04 am

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] avr32: clean up mci platform code, Ben Nizette, (Fri Jul 18, 2:48 am)
Re: [PATCH] avr32: clean up mci platform code, Haavard Skinnemoen, (Fri Jul 18, 5:04 am)