Re: [PATCH] Staging: iio: adc: use dev_get_platdata()

2015-11-29 Thread Jonathan Cameron
On 23/11/15 17:33, Nizam Haider wrote: > Use the wrapper function for retrieving the platform data instead of > accessing dev->platform_data directly. > > Signed-off-by: Nizam Haider The 7780 platform data has gone away in the meantime. Applied for the other 3. Thanks, Jonathan > --- > drivers

Re: [PATCH] Staging: iio: light: tsl2x7x_core: use dev_get_platdata()

2015-11-29 Thread Jonathan Cameron
On 23/11/15 17:48, Nizam Haider wrote: > Use the wrapper function for retrieving the platform data instead of > accessing dev->platform_data directly. > > Signed-off-by: Nizam Haider Applied to the togreg branch of iio.git - initially pushed out as testing. Note that branch will get rebased short

Re: [PATCH] Staging: iio: frequency: use dev_get_platdata()

2015-11-29 Thread Jonathan Cameron
On 23/11/15 18:07, Nizam Haider wrote: > Use the wrapper function for retrieving the platform data instead of > accessing dev->platform_data directly. > > Signed-off-by: Nizam Haider applied > --- > drivers/staging/iio/frequency/ad9832.c | 2 +- > drivers/staging/iio/frequency/ad9834.c | 2 +- >

[PATCH] staging: gdm72xx: fix address space parse warnings

2015-11-29 Thread Okash Khawaja
copy_to_user() and copy_from_user() functions expect the user space pointers to be marked with __user. Sparse throws following warnings. For copy_to_user(): warning: incorrect type in argument 1 (different address spaces) expected void [noderef] *to got void *buf For copy_from_user(): warning:

[PATCH] staging: fwserial: Fix coding style problems

2015-11-29 Thread Rajan Vaja
Fix below coding style problems reported by checkpatch: - Check for pointer comparisons to NULL - No space after a cast Signed-off-by: Rajan Vaja --- drivers/staging/fwserial/dma_fifo.c | 10 +- drivers/staging/fwserial/fwserial.c | 18 +- 2 files changed, 14 inse