diff options
author | Karol Wrona <k.wrona@samsung.com> | 2014-12-19 12:39:26 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-12-26 06:41:16 -0500 |
commit | 20dd20f68f9b41534ba9ebddc4f179d0efbc3c8e (patch) | |
tree | 1c45cf2af5da3de185b3b8976531a988fd52cd7b /drivers/iio | |
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')
-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) | |||
1043 | if (!ptr) | 1043 | if (!ptr) |
1044 | return NULL; | 1044 | return NULL; |
1045 | 1045 | ||
1046 | /* use raw alloc_dr for kmalloc caller tracing */ | ||
1047 | iio_dev = iio_device_alloc(sizeof_priv); | 1046 | iio_dev = iio_device_alloc(sizeof_priv); |
1048 | if (iio_dev) { | 1047 | if (iio_dev) { |
1049 | *ptr = iio_dev; | 1048 | *ptr = iio_dev; |