nuttx/drivers/power
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
..
activity_governor.c NuttX: Matias Nitsche: update licenses to Apache 2021-04-01 12:13:12 -05:00
activity_governor.h drivers: Nxstyle fixes 2021-04-01 12:13:12 -05:00
axp202.c add include battery_ioctl.h 2021-10-18 14:14:09 -03:00
battery_charger.c register_driver: fix driver modes accross the code 2022-02-16 16:15:29 +08:00
battery_gauge.c register_driver: fix driver modes accross the code 2022-02-16 16:15:29 +08:00
battery_monitor.c file_operations: get back C89 compatible initializer 2022-01-11 02:14:00 +08:00
bq769x0.c power/battery: add baterr, batinfo, batwarn for debug log 2021-10-26 13:59:42 -03:00
bq2425x.c power/battery: add baterr, batinfo, batwarn for debug log 2021-10-26 13:59:42 -03:00
bq2425x.h nxstyle fixes 2021-03-13 05:56:43 -08:00
bq2429x.c power/battery: add baterr, batinfo, batwarn for debug log 2021-10-26 13:59:42 -03:00
bq27426.c power/battery: add baterr, batinfo, batwarn for debug log 2021-10-26 13:59:42 -03:00
greedy_governor.c drivers: Nxstyle fixes 2021-04-01 12:13:12 -05:00
greedy_governor.h NuttX: Matias Nitsche: update licenses to Apache 2021-04-01 12:13:12 -05:00
Kconfig regulator/rpmsg: pending in wait ept ready for regulator client 2021-12-27 23:25:28 -06:00
Make.defs driver/power: add gpio regulator 2021-12-07 23:29:05 -06:00
max1704x.c power/battery: add baterr, batinfo, batwarn for debug log 2021-10-26 13:59:42 -03:00
mcp73871.c power/battery: add baterr, batinfo, batwarn for debug log 2021-10-26 13:59:42 -03:00
pm_activity.c drivers: Nxstyle fixes 2021-04-01 12:13:12 -05:00
pm_changestate.c NuttX: Matias Nitsche: update licenses to Apache 2021-04-01 12:13:12 -05:00
pm_checkstate.c drivers: Nxstyle fixes 2021-04-01 12:13:12 -05:00
pm_initialize.c NuttX: Matias Nitsche: update licenses to Apache 2021-04-01 12:13:12 -05:00
pm_register.c drivers: Author Gregory Nutt: update licenses to Apache 2021-03-04 18:32:27 -08:00
pm_unregister.c drivers: update licenses to Apache 2021-05-31 02:58:08 -05:00
pm.h drivers: Nxstyle fixes 2021-04-01 12:13:12 -05:00
powerled.c register_driver: fix driver modes accross the code 2022-02-16 16:15:29 +08:00
regulator_gpio.c fix: regulator: set ioexpander direction in regulator gpio init. 2021-12-21 08:47:17 -06:00
regulator_rpmsg.c regulator/rpmsg: pending in wait ept ready for regulator client 2021-12-27 23:25:28 -06:00
regulator.c regulator: fix warning in RPIu32 2021-12-27 06:56:38 -06:00
smps.c register_driver: fix driver modes accross the code 2022-02-16 16:15:29 +08:00