Clean up MXC and MXS mach/gpio.h
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/20 of 8 patches 0 repliesNew
- v2 posting 1/20 of 8 patches 0 repliesSuperseded
Patches in v2 posting 2/2 No applies recorded yet
None of the 8 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/8] Clean up MXC and MXS mach/gpio.h
Quoted 16 lines · Shawn Guo
Quoted 15 lines · Sascha Hauer
Shawn,
Quoted 12 lines · Shawn Guo
As one step to single image for multiple platforms,
mach/gpio.hneeds to be removed fromasm/gpio.h. The patch set cleans up MXC and MXSmach/gpio.hto an empty header.It's based on v3.1-rc1 plus rmk's patch series below.
[PATCH 00/13] Clean up
mach/gpio.hheadersThe Ben's fix is on the way to -rc2 through arm-soc tree.
Grant, Sascha,
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Can you please review the series and give comments or your ack tag?
I'm fine with this series. I removed the dependency on rmks patches (can be easily merged later) and checked it into my cleanup branch. Please check if you are fine with the result.
It looks all good in terms of code. But the commit messages of the following patches do not fit the context any more.
Yes, you are right. Changed it to the following
Quoted 2 lines
arm/mxc: remove
gpio_to_irq()frommach/gpio.h
arm/mxc: use gpiolib helper for gpio_to_irq
As all the users of gpio_to_irq() in static initializers have been migrated to IMX_GPIO_TO_IRQ, we can start using the standard gpiolib helper for gpio_to_irq().
Quoted 1 line
arm/mxc: move
IMX_GPIO_NRintomach/hardware.h
arm/mxc: move IMX_GPIO_NR into mach/hardware.h
The patch moves IMX_GPIO_NR into mach/hardware.h, so that we only use standard gpiolib helpers in mach/gpio.h.
Quoted 1 line
arm/mxs: move
MXS_GPIO_NRintomach/mxs.h
arm/mxs: move MXS_GPIO_NR into mach/mxs.h
The patch moves MXS_GPIO_NR into mach/mxs.h, so that we only use standard gpiolib helpers in mach/gpio.h.
Sascha
Signature · 4 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |