diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-09-16 11:46:23 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-10-01 12:07:21 +0200 |
commit | bcc6d99ac913e3115cfa564534c432b950408e21 (patch) | |
tree | a0ddcd57a3e130a8db2754f6977862a30330696b /Documentation/driver-api | |
parent | c8f3d144004dd3f471ffd414690d15a005e4acd6 (diff) | |
download | linux-bcc6d99ac913e3115cfa564534c432b950408e21.tar.gz |
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: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'Documentation/driver-api')
0 files changed, 0 insertions, 0 deletions