Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1161911
| From | Alexandre Courbot <acourbot@nvidia.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] HSI: nokia-modem: use flags argument of devm_gpiod_get to set direction |
| Date | 2015-06-10 04:30 +0200 |
| Message-ID | <pzDWa-CF-5@gated-at.bofh.it> (permalink) |
| References | <pz20x-3kH-1@gated-at.bofh.it> |
| Organization | NVIDIA |
On 06/08/2015 06:53 PM, Uwe Kleine-König wrote: > Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions) > which appeared in v3.17-rc1, the gpiod_get* functions take an additional > parameter that allows to specify direction and initial value for output. > > Use this to simplify the driver. Furthermore this is one caller less > that stops us making the flags argument to gpiod_get*() mandatory. Acked-by: Alexandre Courbot <acourbot@nvidia.com> Thanks Uwe for taking care of this! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] HSI: nokia-modem: use flags argument of devm_gpiod_get to set direction Alexandre Courbot <acourbot@nvidia.com> - 2015-06-10 04:30 +0200
csiph-web