Re: [PATCH 05/10] pwm: sysfs: do not unnecessarily store result in var
From: Thierry Reding
Date: Fri Nov 06 2015 - 09:51:46 EST
On Mon, Oct 26, 2015 at 10:32:36PM +0100, Olliver Schinagl wrote:
> From: Olliver Schinagl <oliver@xxxxxxxxxxx>
>
> Use the result of pwm_is_enabled directly instead of storing it first.
>
> Signed-off-by: Olliver Schinagl <oliver@xxxxxxxxxxx>
> ---
> drivers/pwm/sysfs.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Applied, thanks.
Thierry
Attachment:
signature.asc
Description: PGP signature