nuttx/drivers/leds
Petro Karashchenko 41c95da594 register_driver: fix driver modes accross the code
State of problem:
 - Some drivers that do not support write operations (does not
   have write handler or ioctl do not perform any write actions)
   are registered with write permissions
 - Some drivers that do not support read operation (does not
   have read handler or ioctl do not perform any read actions)
   are registered with read permissions
 - Some drivers are registered with execute permissions

Solution:
 - Iterate code where register_driver() is used and change 'mode'
   parameter to reflect the actual read/write operations executed
   by a driver
 - Remove execute permissions from 'mode' parameter

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-02-16 16:15:29 +08:00
..
apa102.c drivers: Alan Carvalho de Assis: update licenses to Apache 2021-03-13 05:56:43 -08:00
Kconfig Userled driver: Add option to check actual pin state with getall 2021-10-18 12:30:18 -07:00
Make.defs drivers: Author Gregory Nutt: update licenses to Apache 2021-03-04 18:32:27 -08:00
max7219.c file_operations: get back C89 compatible initializer 2022-01-11 02:14:00 +08:00
ncp5623c.c file_operations: get back C89 compatible initializer 2022-01-11 02:14:00 +08:00
pca9635pw.c register_driver: fix driver modes accross the code 2022-02-16 16:15:29 +08:00
rgbled.c nxstyle fixes 2021-03-13 05:56:43 -08:00
userled_lower.c Userled driver: Add option to check actual pin state with getall 2021-10-18 12:30:18 -07:00
userled_upper.c Userled driver: Add option to check actual pin state with getall 2021-10-18 12:30:18 -07:00
ws2812.c file_operations: get back C89 compatible initializer 2022-01-11 02:14:00 +08:00