[RFC] gpiolib: introduce descriptor-based GPIO interface
From: Grant Likely <hidden>
Date: 2012-12-10 22:38:29
Also in:
linux-arch, lkml
From: Grant Likely <hidden>
Date: 2012-12-10 22:38:29
Also in:
linux-arch, lkml
On Fri, 7 Dec 2012 11:06:34 +0900, Alex Courbot [off-list ref] wrote:
On Thursday 06 December 2012 22:42:59 Grant Likely wrote:quoted
how about "gpio_chip_hwnum()" to somewhat match irqdomain convention?Sure, matching existing interfaces is better. "git grep hwnum" does not seem to reveal much related to irqdomain though?
irqdomain actually uses "hwirq". "hwgpio" would be a closer analog than 'hwnum'. At first I though hwgpio to be too goofy, but on further reflection it probably has the least likelyhood of getting used incorrectly. g.