Skip to content

drivers:staging:mfd:seco-stm32.c: bugfixes and code simplifications

Oleksii Kutuzov requested to merge sync into main
  • stm32_gpio_dir_input() returnes -1 if an IRQ should be read
  • stm32.irq_base is allways be initialised
  • there is no need to read the configuration of gpio-pins from the device tree, if the configuration is done like described in Documentation/devicetree/bindings/gpio/gpio.txt this is done automatically when gpiochip-data is added
  • debug-output from early experiments removed

Copied from seco-ne/kernel/linux-imx-kuk@2643a251

Edited by Oleksii Kutuzov

Merge request reports

Loading