Re: [PATCH 1/3] iio: trigger: Fix platform_get_irq's error checking

2017-12-02 Thread Jonathan Cameron
On Thu, 30 Nov 2017 21:13:34 +0530 Arvind Yadav wrote: > The platform_get_irq() function returns negative if an error occurs. > zero or positive number on success. platform_get_irq() error checking > for zero is not correct. > > Signed-off-by: Arvind Yadav

Re: [PATCH v2 04/15] iio: make function argument and some structures const

2017-10-16 Thread Jonathan Cameron
config_item_type structures const as they are either passed to >the functions having the argument as const or they are >stored in the const "ci_type" field of a config_item structure. > >Signed-off-by: Bhumika Goyal <bhumi...@gmail.com> Acked-by: Jonathan Cameron <jonat