Re: [PATCH] max730x: Added setup/teardown hooks

From: Roland Stigge
Date: Thu Mar 03 2011 - 14:36:18 EST


On 03/03/2011 07:59 PM, Grant Likely wrote:
> On Fri, Feb 11, 2011 at 5:00 AM, <stigge@xxxxxxxxx> wrote:
>> max730x: Added setup/teardown hooks
>>
>> This patch adds setup and teardown hooks for configuration of GPIO lines via
>> platform_data, similar to the pca953x driver.
>
> Why? What actions are these hooks going to perform?

In board configurations, ARM systems are set up with GPIO lines
configured as Input or Output etc. See also arch/arm/*/*. See usage of
pca953x - how it is already done there.

Thanks,

Roland
--
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/