device property: Constify parameter in device_dma_supported() and device_get_dma_attr()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 4 Oct 2022 09:21:29 +0000 (12:21 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Oct 2022 11:49:55 +0000 (13:49 +0200)
commit59789f3418dd3c0a187490d49e900a59a5c8d732
treea3a900a7bc1a59cd9fe99e225ff6d3063db2bb65
parent7952cd2b8213f20a1752634c25dfd215da537722
device property: Constify parameter in device_dma_supported() and device_get_dma_attr()

Constify parameter in device_dma_supported() and device_get_dma_attr()
since they don't alter anything related to it.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Link: https://lore.kernel.org/r/20221004092129.19412-6-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/property.c
include/linux/property.h