diff options
| author | 2016-01-16 17:14:37 +0100 | |
|---|---|---|
| committer | 2016-01-30 16:26:33 +0000 | |
| commit | 84e8d090c57522c5f8ae59f5b922bedb929165c7 (patch) | |
| tree | f90afc289ea3a0d01f31cc77d880c50ed0548232 /include/uapi/linux | |
| parent | iio: light: opt3001: extract int. time constants (diff) | |
iio: light: opt3001: trivial type refactoring
Change variable type of struct opt3001 members 'ok_to_ignore_lock' and
'result_ready' uint16-bitfield of length one to bool.
They are used as bool, let the compiler do the optimization.
Signed-off-by: Alexander Koch <mail@alexanderkoch.net>
Signed-off-by: Michael Hornung <mhornung.linux@gmail.com>
Tested-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
