Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1660069 > unrolled thread
| Started by | Sebastian Reichel <sre@kernel.org> |
|---|---|
| First post | 2017-06-07 20:40 +0200 |
| Last post | 2017-06-07 20:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [RESEND PATCH] power: supply: sysfs: parse string as enum when writing property Sebastian Reichel <sre@kernel.org> - 2017-06-07 20:40 +0200
| From | Sebastian Reichel <sre@kernel.org> |
|---|---|
| Date | 2017-06-07 20:40 +0200 |
| Subject | Re: [RESEND PATCH] power: supply: sysfs: parse string as enum when writing property |
| Message-ID | <tPO26-1PO-19@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Hi, On Mon, May 15, 2017 at 04:21:15PM -0500, David Lechner wrote: > This fixes the TODO to parse strings and convert them to enum values > when writing to a power_supply class property sysfs attribute. > > There is at least one driver that has a writable enum property that > previously could only be written as an integer, so a fallback to writing > enums as integers instead of strings is provided so we don't break existing > userspace programs. > > Signed-off-by: David Lechner <david@lechnology.com> Thanks, queued. -- Sebastian
Back to top | Article view | linux.kernel
csiph-web