diff options
| author | Michal Simek <michal.simek@xilinx.com> | 2018-07-30 14:29:27 +0200 |
|---|---|---|
| committer | Michal Simek <michal.simek@xilinx.com> | 2018-08-07 11:03:43 +0200 |
| commit | 642a86041228974c154dc7e250f3d1e0b8adf33f (patch) | |
| tree | 5919c1f2d7cf5d6b5dc99168040dbc5a54f6fdbe /include/linux/linux_string.h | |
| parent | bf2a69de81908f36a5853b36cc2afbd976856e3b (diff) | |
| download | u-boot-642a86041228974c154dc7e250f3d1e0b8adf33f.tar.gz u-boot-642a86041228974c154dc7e250f3d1e0b8adf33f.tar.xz u-boot-642a86041228974c154dc7e250f3d1e0b8adf33f.zip | |
gpio: xilinx: Simplify logic in xilinx_gpio_set_value
There is no reason to do read/write for if/else separately.
Reported-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
