mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
iio: core: Get rid of misleading comment
This comment did not fit here. It explains why devm_kmalloc uses dr_alloc. Generally is not needed at all. Signed-off-by: Karol Wrona <k.wrona@samsung.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
780103fef5
commit
20dd20f68f
1 changed files with 0 additions and 1 deletions
|
|
@ -1043,7 +1043,6 @@ struct iio_dev *devm_iio_device_alloc(struct device *dev, int sizeof_priv)
|
|||
if (!ptr)
|
||||
return NULL;
|
||||
|
||||
/* use raw alloc_dr for kmalloc caller tracing */
|
||||
iio_dev = iio_device_alloc(sizeof_priv);
|
||||
if (iio_dev) {
|
||||
*ptr = iio_dev;
|
||||
|
|
|
|||
Loading…
Reference in a new issue