Re: [PATCH] spi: orion: fix CS GPIO handling again

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Does it make sense to switch to GPIO descriptors at some point

That comes from the SPI core. Struct spi_device defines cs_gpio as an int.

and use devm_gpiod_get_index() instead of two calls?

Thanks, I've changed the code to use devm_gpio_request_one() now.

Cheers,
Jan
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux