diff options
author | Karol Wrona <k.wrona@samsung.com> | 2014-12-19 18:39:26 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-12-26 11:41:16 +0000 |
commit | 20dd20f68f9b41534ba9ebddc4f179d0efbc3c8e (patch) | |
tree | 1c45cf2af5da3de185b3b8976531a988fd52cd7b /drivers/iio/industrialio-core.c | |
parent | 780103fef5c88a97fb9c8d0079bf326ed6147f1f (diff) |
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>
Diffstat (limited to 'drivers/iio/industrialio-core.c')
-rw-r--r-- | drivers/iio/industrialio-core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c index ee442ee482ab..b7a39771705f 100644 --- a/drivers/iio/industrialio-core.c +++ b/drivers/iio/industrialio-core.c @@ -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; |