mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 19:01:37 +00:00
744966d6dc
This patch introduces the use of devm_ioremap_resource. It does away with call to request_mem_region and the error checking on platform_get_resource. Also, the calls to free the allocated resources like release_mem_region and iounmap are done away with. The ret variable in the probe function is also eliminated. Also, a bug is fixed as the goto in the error handling of request_mem_region should not have called release_mem_region which releases a resource that has not been allocated. Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org> |
||
---|---|---|
.. | ||
accel | ||
adc | ||
addac | ||
cdc | ||
Documentation | ||
frequency | ||
gyro | ||
impedance-analyzer | ||
light | ||
magnetometer | ||
meter | ||
resolver | ||
trigger | ||
iio_dummy_evgen.c | ||
iio_dummy_evgen.h | ||
iio_simple_dummy_buffer.c | ||
iio_simple_dummy_events.c | ||
iio_simple_dummy.c | ||
iio_simple_dummy.h | ||
Kconfig | ||
Makefile | ||
ring_hw.h | ||
TODO |