core: move request flag to handle flag conversion into a separate function
authorKent Gibson <warthog618@gmail.com>
Fri, 15 Nov 2019 14:43:37 +0000 (22:43 +0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 18 Nov 2019 14:18:26 +0000 (15:18 +0100)
commit334e4d2aaf8d2e6723411ec06d2eb6fda3ae06b4
tree7685be3d372688b59e7086bed847af6d8a0430aa
parent9ed02fc793b332773658f3ba09f45a058e75b0a8
core: move request flag to handle flag conversion into a separate function

Move common conversion code from line_request_values and
line_request_event_single() into a separate function to simplify adding
additional flags.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
lib/core.c