From: robert.jarzmik@free.fr (Robert Jarzmik) Date: Fri, 06 Nov 2009 18:05:57 +0100 Subject: [PATCH 1/3] ezx: Add camera support for A780 and A910 EZX phones In-Reply-To: (Guennadi Liakhovetski's message of "Fri\, 6 Nov 2009 17\:40\:14 +0100 \(CET\)") References: <1257266734-28673-1-git-send-email-ospite@studenti.unina.it> <1257266734-28673-2-git-send-email-ospite@studenti.unina.it> <20091104123536.9b95d161.ospite@studenti.unina.it> Message-ID: <87y6mjlh1m.fsf@free.fr> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Guennadi Liakhovetski writes: > Good that you mentioned this. In fact, I think, that .init should go. So > far it is used in pcm990-baseboard.c to initialise pins. You're doing > essentially the same - requesting and configuring GPIOs. And it has been > agreed, that there is so far no real case, where a static > GPIO-configuration wouldn't work. So, I would suggest you remove .init, > configure GPIOs statically. And then submit a patch to remove .init > completely from struct pxacamera_platform_data. Robert, do you agree? Yes, fully agree, I think too that GPIO should be static. Cheers. -- Robert