On 09/11/13 08:19, Lee Jones wrote:
>>> err = st_sensors_init_sensor(indio_dev, plat_data);
>>> if (err < 0)
>>> - goto st_press_common_probe_error;
>>> + return err;
>>>
>>> - if (pdata->get_irq_data_ready(indio_dev) > 0) {
>>> + if (irq > 0) {
>>> err =
> > err = st_sensors_init_sensor(indio_dev, plat_data);
> > if (err < 0)
> >-goto st_press_common_probe_error;
> >+return err;
> >
> >-if (pdata->get_irq_data_ready(indio_dev) > 0) {
> >+if (irq > 0) {
> > err = st_press_allocate_ring(indio_dev);
Lee Jones wrote:
>This patch contains some pretty basic clean-ups in probe() pertaining
>to
>the simplification of error handling and a couple of readability
>adaptions.
>
>Signed-off-by: Lee Jones
>---
>drivers/iio/pressure/st_pressure_core.c | 32
>
> 1 file cha
This patch contains some pretty basic clean-ups in probe() pertaining to
the simplification of error handling and a couple of readability adaptions.
Signed-off-by: Lee Jones
---
drivers/iio/pressure/st_pressure_core.c | 32
1 file changed, 16 insertions(+), 16 de
4 matches
Mail list logo