Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Karol Wrona and committed by
Jonathan Cameron
20dd20f6 780103fe

-1
-1
drivers/iio/industrialio-core.c
··· 1043 1043 if (!ptr) 1044 1044 return NULL; 1045 1045 1046 - /* use raw alloc_dr for kmalloc caller tracing */ 1047 1046 iio_dev = iio_device_alloc(sizeof_priv); 1048 1047 if (iio_dev) { 1049 1048 *ptr = iio_dev;