Re: [PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-03-13 Thread Thomas Niederprüm
Am Tue, 10 Mar 2015 12:49:19 +0200 schrieb Tomi Valkeinen : > On 09/02/15 10:52, Maxime Ripard wrote: > > On Sat, Feb 07, 2015 at 05:42:44PM +0100, Thomas Niederprüm wrote: > +static struct device_attribute device_attrs[] = { > +__ATTR(contrast, S_IRUGO|S_IWUSR, show_contrast, >

Re: [PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-03-13 Thread Thomas Niederprüm
Am Tue, 10 Mar 2015 12:49:19 +0200 schrieb Tomi Valkeinen tomi.valkei...@ti.com: On 09/02/15 10:52, Maxime Ripard wrote: On Sat, Feb 07, 2015 at 05:42:44PM +0100, Thomas Niederprüm wrote: +static struct device_attribute device_attrs[] = { +__ATTR(contrast, S_IRUGO|S_IWUSR,

Re: [PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-03-10 Thread Tomi Valkeinen
On 09/02/15 10:52, Maxime Ripard wrote: > On Sat, Feb 07, 2015 at 05:42:44PM +0100, Thomas Niederprüm wrote: +static struct device_attribute device_attrs[] = { + __ATTR(contrast, S_IRUGO|S_IWUSR, show_contrast, store_contrast), + __ATTR(dim, S_IRUGO|S_IWUSR, show_dim,

Re: [PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-03-10 Thread Tomi Valkeinen
On 09/02/15 10:52, Maxime Ripard wrote: On Sat, Feb 07, 2015 at 05:42:44PM +0100, Thomas Niederprüm wrote: +static struct device_attribute device_attrs[] = { + __ATTR(contrast, S_IRUGO|S_IWUSR, show_contrast, store_contrast), + __ATTR(dim, S_IRUGO|S_IWUSR, show_dim, store_dim), + +}; +

Re: [PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-02-09 Thread Maxime Ripard
On Sat, Feb 07, 2015 at 05:42:44PM +0100, Thomas Niederprüm wrote: > > > +static struct device_attribute device_attrs[] = { > > > + __ATTR(contrast, S_IRUGO|S_IWUSR, show_contrast, > > > store_contrast), > > > + __ATTR(dim, S_IRUGO|S_IWUSR, show_dim, store_dim), > > > + > > > +}; > > > + > > > >

Re: [PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-02-09 Thread Maxime Ripard
On Sat, Feb 07, 2015 at 05:42:44PM +0100, Thomas Niederprüm wrote: +static struct device_attribute device_attrs[] = { + __ATTR(contrast, S_IRUGO|S_IWUSR, show_contrast, store_contrast), + __ATTR(dim, S_IRUGO|S_IWUSR, show_dim, store_dim), + +}; + I would have thought this

Re: [PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-02-07 Thread Thomas Niederprüm
Am Sat, 7 Feb 2015 12:43:29 +0100 schrieb Maxime Ripard : > On Fri, Feb 06, 2015 at 11:28:13PM +0100, nied...@physik.uni-kl.de > wrote: > > From: Thomas Niederprüm > > > > This patch adds sysfs handles to enable userspace control over the > > display contrast as well as the dim mode. The

Re: [PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-02-07 Thread Maxime Ripard
On Fri, Feb 06, 2015 at 11:28:13PM +0100, nied...@physik.uni-kl.de wrote: > From: Thomas Niederprüm > > This patch adds sysfs handles to enable userspace control over the display > contrast as well as the dim mode. The handles are available as "contrast" > and "dim" in the framebuffers sysfs

Re: [PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-02-07 Thread Maxime Ripard
On Fri, Feb 06, 2015 at 11:28:13PM +0100, nied...@physik.uni-kl.de wrote: From: Thomas Niederprüm nied...@physik.uni-kl.de This patch adds sysfs handles to enable userspace control over the display contrast as well as the dim mode. The handles are available as contrast and dim in the

Re: [PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-02-07 Thread Thomas Niederprüm
Am Sat, 7 Feb 2015 12:43:29 +0100 schrieb Maxime Ripard maxime.rip...@free-electrons.com: On Fri, Feb 06, 2015 at 11:28:13PM +0100, nied...@physik.uni-kl.de wrote: From: Thomas Niederprüm nied...@physik.uni-kl.de This patch adds sysfs handles to enable userspace control over the

[PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-02-06 Thread niederp
From: Thomas Niederprüm This patch adds sysfs handles to enable userspace control over the display contrast as well as the dim mode. The handles are available as "contrast" and "dim" in the framebuffers sysfs domain. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 88

[PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-02-06 Thread niederp
From: Thomas Niederprüm nied...@physik.uni-kl.de This patch adds sysfs handles to enable userspace control over the display contrast as well as the dim mode. The handles are available as contrast and dim in the framebuffers sysfs domain. Signed-off-by: Thomas Niederprüm nied...@physik.uni-kl.de