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: NAlexander Koch <mail@alexanderkoch.net> Signed-off-by: NMichael Hornung <mhornung.linux@gmail.com> Tested-by: NAndreas Dannenberg <dannenberg@ti.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
Showing
想要评论请 注册 或 登录