Thread (5 messages) 5 messages, 3 authors, 2014-02-05

Re: Question about non-boolean gpio sysfs values

flat view

From: Linus Walleij <hidden>
Date: 2014-02-05 13:46:11

On Wed, Feb 5, 2014 at 2:24 PM, Alexandre Courbot [off-list ref] wrote:
On Wed, Feb 5, 2014 at 10:06 PM, Linus Walleij [off-list ref] wrote:
quoted
Maybe we should even retype the function to a bool, atleast in
the driver-facing API.
Agree with the bool retyping, and while we are at it let's also change
the driver function's prototype. That's probably the shortest way to
fix this (yay to implicit type conversion!) and to make sure this
problem isn't reintroduced in the future.

Shall I make a patch for this? It will change every driver around, but
shouldn't be too intrusive.
Yeah hit me with it, I like that things are moving.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help