]> git.baikalelectronics.ru Git - kernel.git/commit
iio: buffer: Switch to bitmap_zalloc()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 4 Mar 2019 08:55:40 +0000 (10:55 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:19:51 +0000 (20:19 +0100)
commiteae802350bb1e1fb04e37967408eac8e6de35b9b
tree70f16353ffc0ea5f0bba8c1038e8fbed39e99fa9
parent0fd05b3856a5d94268b9949a0bc07cd03c2d2bc4
iio: buffer: Switch to bitmap_zalloc()

Switch to bitmap_zalloc() to show clearly what we are allocating.
Besides that it returns pointer of bitmap type instead of opaque void *.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/buffer/industrialio-buffer-cb.c
drivers/iio/industrialio-buffer.c