2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-11 15:14:03 +08:00
linux-next/drivers/staging/iio
Tapasweni Pathak 31f8f066f5 staging: iio: adc: Remove useless cast on void pointer
void pointers do not need to be cast to other pointer types.

The semantic patch used to find this:

@r@
expression x;
void* e;
type T;
identifier f;
@@

(
  *((T *)e)
|
  ((T *)x)[...]
|
  ((T *)x)->f
|
- (T *)
  e
)

Build tested it.

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-10-30 13:05:47 -07:00
..
accel staging: iio: accel: Update Kconfig description with module name information 2014-10-20 10:29:08 +08:00
adc staging: iio: adc: Remove useless cast on void pointer 2014-10-30 13:05:47 -07:00
addac staging: iio: addac: annotate Kconfig entries with module name information 2014-10-20 10:29:08 +08:00
cdc staging: iio: cdc: Don't put an else right after a return 2014-09-19 17:49:39 -07:00
Documentation staging: iio: iio_event_monitor: Add support for missing IIO modifiers 2014-10-23 11:09:11 +08:00
frequency staging: iio: frequency: remove unnecessary semicolon 2014-09-28 22:19:04 -04:00
gyro Staging: iio: gyro: Added description for config symbol. 2014-10-20 10:29:08 +08:00
impedance-analyzer staging: iio: impedance-analyzer: add blank line after declaration 2014-09-19 16:25:09 -07:00
light Staging: iio: light: Removed unnecessary parentheses 2014-10-28 15:58:12 +08:00
magnetometer staging: iio: hmc5843_core: fix sparse warnings 2014-08-02 17:33:09 +01:00
meter Staging: iio: meter: Kconfig: Add module name information in Kconfig 2014-10-20 10:29:08 +08:00
resolver staging: iio: resolver: Annotate Kconfig entries with module name information 2014-10-02 10:06:10 -07:00
trigger Staging: iio: trigger: Break line over 80 characters 2014-10-20 10:29:09 +08:00
iio_dummy_evgen.c staging: iio: dummy: add blank lines after declarations. 2014-09-19 16:24:19 -07:00
iio_dummy_evgen.h staging: iio: Add #include guards to header files 2014-09-28 22:19:04 -04:00
iio_simple_dummy_buffer.c staging: iio: dummy: add blank lines after declarations. 2014-09-19 16:24:19 -07:00
iio_simple_dummy_events.c staging: iio: dummy: add blank lines after declarations. 2014-09-19 16:24:19 -07:00
iio_simple_dummy.c staging: iio: fix coding style by adding blank lines in iio_simple_dummy 2014-06-14 16:19:10 +01:00
iio_simple_dummy.h staging: iio: Add #include guards to header files 2014-09-28 22:19:04 -04:00
Kconfig staging/iio: IIO_SIMPLE_DUMMY_BUFFER neds IIO_BUFFER 2014-06-07 11:45:21 +01:00
Makefile hwmon: Move the IIO client driver for hwmon out of staging 2013-03-23 10:08:15 +00:00
ring_hw.h staging: iio: Add #include guards to header files 2014-09-28 22:19:04 -04:00
TODO Staging/iio: add TODO reminder 2013-10-01 16:19:17 +01:00