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/gpio | |
parent | gpio: mxc: Only get the second IRQ when there is more than one IRQ (diff) | |
download | linux-dev-bcc6d99ac913e3115cfa564534c432b950408e21.tar.xz linux-dev-bcc6d99ac913e3115cfa564534c432b950408e21.zip |
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/gpio')
0 files changed, 0 insertions, 0 deletions