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

Thierry Reding thierry.reding at gmail.com
Fri Nov 6 06:51:38 PST 2015


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

Applied, thanks.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151106/8b1b38aa/attachment.sig>


More information about the linux-arm-kernel mailing list