gpio: Change to call flock with void type conversion 19/289519/1 accepted/tizen/unified/20230313.022859
authorTaeminYeom <taemin.yeom@samsung.com>
Thu, 9 Mar 2023 06:04:28 +0000 (15:04 +0900)
committerTaeminYeom <taemin.yeom@samsung.com>
Thu, 9 Mar 2023 06:04:39 +0000 (15:04 +0900)
commitd9d1daeae0eecfe9305c4cb560b599d02eb88508
treef6a2dcdc900e98be40784e0569f2632d3428337f
parent324e3f38808004d9af55fb256d182351b023e638
gpio: Change to call flock with void type conversion

In the API "gpio_modern_set_direction_xor_edge_mode",
After flock fd and set edge mode or direction, unlock fd.
This API doesn't use the return value of unlock and use
the return of setting edge mode or direction.
So, in calling fd unlock, change to call with void type conversion.

Change-Id: I7219b666e8779f74e4bff0978835e6b29af79269
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
src/peripheral_gpio_modern_api.c