linux/drivers/iio/common/ssp_sensors
Uwe Kleine-König 388008bbd6 iio: ssp_sensors: don't manually free devm managed resources
The charme of devm_* functions is that you don't need to care about them
in the error path. In this case it is valid to just return NULL which makes
the device fail to probe and then the two gpios and the allocated memory
are freed automatically by the driver core.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-10-07 20:04:30 +01:00
..
Kconfig
Makefile
ssp_dev.c iio: ssp_sensors: don't manually free devm managed resources 2018-10-07 20:04:30 +01:00
ssp_iio_sensor.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ssp_iio.c iio:kfifo_buf header include push down. 2017-01-10 19:54:53 +00:00
ssp_spi.c iio: common: ssp_sensors: use ktime_get_real_ns() timestamps 2018-01-08 16:03:41 +01:00
ssp.h iio: common: ssp_sensors: account for const type of of_device_id.data 2018-01-08 16:03:43 +01:00