Re: [PATCH 05/10] pwm: sysfs: do not unnecessarily store result in var

2015-11-06 Thread Thierry Reding
On Mon, Oct 26, 2015 at 10:32:36PM +0100, Olliver Schinagl wrote: > From: Olliver Schinagl > > Use the result of pwm_is_enabled directly instead of storing it first. > > Signed-off-by: Olliver Schinagl > --- > drivers/pwm/sysfs.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Appli

[PATCH 05/10] pwm: sysfs: do not unnecessarily store result in var

2015-10-26 Thread Olliver Schinagl
From: Olliver Schinagl Use the result of pwm_is_enabled directly instead of storing it first. Signed-off-by: Olliver Schinagl --- drivers/pwm/sysfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/pwm/sysfs.c b/drivers/pwm/sysfs.c index c472772..ba67845 100644 --