Skip to content
Commit bcc6d99a authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

gpiolib: sanitize flags before allocating memory in lineevent_create()



Move all the flags sanitization before any memory allocation in
lineevent_create() in order to remove a couple unneeded gotos.

Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent c8f3d144
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment