zephyr/boards/arduino_due
Andre Guedes 5f1988f284 pinmux: Change returning type from pinmux.h APIs
All driver APIs (i2c, spi, gpio, etc.) return 'int' type, but pinmux
APIs. So this patch changes the returning type from 'uint32_t' to
'int' from include/pinmux.h and fixes all pinmux drivers according.

Besides keeping consistency between all drivers APIs, this patch is
also applicable for the errno.h code transition. Pinmux drivers will
return negative errno.h codes so returning 'int' is more suitable
than 'uint32_t'.

Change-Id: I2a6e92d567a0e21fec363226da6197df94657d4b
Signed-off-by: Andre Guedes <andre.guedes@intel.com>
2016-03-16 19:46:05 +00:00
..
Kconfig boards/arduino_due: enable both I2C controllers if CONFIG_I2C=y 2016-02-08 21:45:07 -05:00
Kconfig.board boards: make individual boards dependent on SoC selections 2016-03-16 01:38:06 +00:00
Makefile boards/arduino_due: add pinmux driver 2016-02-05 20:25:29 -05:00
arduino_due_defconfig boards/arduino_due: add pinmux driver 2016-02-05 20:25:29 -05:00
board.c boards: adds initial support for Arduino Due 2016-02-05 20:25:21 -05:00
board.h boards: adds initial support for Arduino Due 2016-02-05 20:25:21 -05:00
pinmux_due.c pinmux: Change returning type from pinmux.h APIs 2016-03-16 19:46:05 +00:00