Thread (18 messages) flat view 18 messages, 8 authors, 2011-06-03

[PATCH v2 0/4] Move plat-mxc gpio driver into drivers/gpio

From: Russell King - ARM Linux <hidden>
Date: 2011-06-03 07:52:15
Also in: lkml

On Thu, Jun 02, 2011 at 11:33:48AM +0800, Shawn Guo wrote:
 arch/arm/plat-mxc/gpio.c                        |  361 -------------------
 drivers/gpio/gpio-mxc.c                         |  433 +++++++++++++++++++++++
I'm wondering why just moving this driver into drivers/gpio has
resulted in it growing by 72 lines - and it's not clear from the
diffs why that is because of the way they're broken up.

Would it not be better to have the first patch to merely move
arch/arm/plat-mxc/gpio.c to drivers/gpio/gpio-mxc.c, making whatever
config changes are necessary.  Then subsequent patches should change
drivers/gpio/gpio-mxc.c as required - which means we can see what
changes are being made.

As the series currently stands, from the review point of view it's
effectively adding an entirely new driver, converting everything over
to it, and then deleting the old.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help