Re: [PATCH 06/10] mtd: rawnand: fsl_upm: Use gpio descriptors

2020-06-15 Thread Miquel Raynal
On Wed, 2020-06-03 at 13:49:18 UTC, Boris Brezillon wrote: > The integer-based GPIO ids are now deprecated in favor of the GPIO desc > API. The PPC platforms have already been converted to GPIOLIB, so let's > use gpio descs in the NAND driver too. > > While at it, we use devm_gpiod_get_index_optio

Re: [PATCH 06/10] mtd: rawnand: fsl_upm: Use gpio descriptors

2020-06-03 Thread Miquel Raynal
Boris Brezillon wrote on Wed, 3 Jun 2020 15:49:18 +0200: > The integer-based GPIO ids are now deprecated in favor of the GPIO desc > API. The PPC platforms have already been converted to GPIOLIB, so let's > use gpio descs in the NAND driver too. > > While at it, we use devm_gpiod_get_index_op

[PATCH 06/10] mtd: rawnand: fsl_upm: Use gpio descriptors

2020-06-03 Thread Boris Brezillon
The integer-based GPIO ids are now deprecated in favor of the GPIO desc API. The PPC platforms have already been converted to GPIOLIB, so let's use gpio descs in the NAND driver too. While at it, we use devm_gpiod_get_index_optional() so we can get rid of the manual gpio desc release done in the i