nuttx/boards/arm/stm32
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
..
axoloti board: Remove -fno-strength-reduce 2022-01-19 00:14:03 +01:00
b-g431b-esc1 sched: Disable pthread by default when DEFAULT_SMALL is enabled 2022-02-07 12:04:03 +08:00
b-g474e-dpow1 board: Remove -fno-strength-reduce 2022-01-19 00:14:03 +01:00
clicker2-stm32 Revert "libc: Call pthread_exit in user-space by up_pthread_exit" 2022-02-09 21:21:43 +08:00
cloudctrl sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
common stm32f4discovery: Add support to MS5611 2022-01-24 10:23:45 +08:00
emw3162 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
et-stm32-stamp sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
fire-stm32v2 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
hymini-stm32v sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
maple sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
mikroe-stm32f4 register_driver: fix driver modes accross the code 2022-02-16 16:15:29 +08:00
nucleo-f4x1re sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-f103rb sched: Disable pthread by default when DEFAULT_SMALL is enabled 2022-02-07 12:04:03 +08:00
nucleo-f207zg sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-f302r8 sched: Disable pthread by default when DEFAULT_SMALL is enabled 2022-02-07 12:04:03 +08:00
nucleo-f303re sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-f303ze sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-f334r8 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-f410rb sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-f412zg sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-f429zi sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-f446re sched: Disable pthread by default when DEFAULT_SMALL is enabled 2022-02-07 12:04:03 +08:00
nucleo-g431kb sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
nucleo-g431rb sched: Disable pthread by default when DEFAULT_SMALL is enabled 2022-02-07 12:04:03 +08:00
nucleo-l152re board: nucleo-l152re: Added registering logic I2C on /dev. 2022-02-09 12:26:01 +08:00
olimex-stm32-e407 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
olimex-stm32-h405 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
olimex-stm32-h407 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
olimex-stm32-p107 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
olimex-stm32-p207 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
olimex-stm32-p407 Revert "libc: Call pthread_exit in user-space by up_pthread_exit" 2022-02-09 21:21:43 +08:00
olimexino-stm32 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
omnibusf4 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
photon sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
shenzhou sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm32_tiny sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm32butterfly2 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm32f3discovery sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm32f4discovery Revert "libc: Call pthread_exit in user-space by up_pthread_exit" 2022-02-09 21:21:43 +08:00
stm32f103-minimum sched: Disable pthread by default when DEFAULT_SMALL is enabled 2022-02-07 12:04:03 +08:00
stm32f334-disco register_driver: fix driver modes accross the code 2022-02-16 16:15:29 +08:00
stm32f411-minimum sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm32f411e-disco sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm32f429i-disco sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm32ldiscovery register_driver: fix driver modes accross the code 2022-02-16 16:15:29 +08:00
stm32vldiscovery sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm3210e-eval sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm3220g-eval sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00
stm3240g-eval Revert "libc: Call pthread_exit in user-space by up_pthread_exit" 2022-02-09 21:21:43 +08:00
viewtool-stm32f107 sched: Remove SDCLONE_DISABLE option and config 2022-01-31 19:03:20 +01:00