samples: CAN: Tweak GPIO flags in dts for mcp2515

Remove setting GPIO_DIR_OUT in the dts overlay for mcp2515 as a
precursor to new GPIO API work.  The flag isn't used for cs-gpio,
as we hard code GPIO_DIR_OUT in the spi controller code.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-09-10 15:58:51 -05:00 committed by Kumar Gala
commit 544921cd93

View file

@ -6,7 +6,7 @@
&spi1 {
status = "okay";
cs-gpios = <&gpioa 4 GPIO_DIR_OUT>;
cs-gpios = <&gpioa 4 0>;
mcp2515@0 {
compatible = "microchip,mcp2515";
spi-port-name = "SPI_1";