Skip to content
Snippets Groups Projects
Commit 642a8604 authored by Michal Simek's avatar Michal Simek
Browse files

gpio: xilinx: Simplify logic in xilinx_gpio_set_value


There is no reason to do read/write for if/else separately.

Reported-by: default avatarStefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Reviewed-by: default avatarStefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
parent bf2a69de
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment