Thread (22 messages) 22 messages, 3 authors, 2015-09-24

[PATCH v3 6/9] gpiolib-sysfs: Show gpio-name in /sys/class/gpio/gpio*/name

From: Markus Pargmann <hidden>
Date: 2015-09-24 07:14:07
Also in: linux-gpio

On Mon, Sep 21, 2015 at 06:07:51PM -0700, Linus Walleij wrote:
On Fri, Aug 14, 2015 at 7:11 AM, Markus Pargmann [off-list ref] wrote:
quoted
This patch adds a sysfs attribute 'name' to gpios that were exported. It
exposes the newly added name property of gpio descriptors.

Signed-off-by: Markus Pargmann <redacted>
The previous hunk adding the name to the sysfs ABI should
be in this patch.

But I have a problem with this. What is the rationale? The directory
that contains the file already has this name. Why should this
information be duplicated?
No reason for that. As described in the summary, I wasn't sure if this
makes sense but included it anyway from the last series version. So it
can simply be dropped.

Thanks,

Markus

-- 
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 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150924/3ca9ff0d/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help