driver core: Replace printf() specifier and drop unneeded casting
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 1 Apr 2021 17:10:42 +0000 (20:10 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Apr 2021 15:02:45 +0000 (17:02 +0200)
commit318c3e00f13c2f6e11202a22cc302ea8c70552ea
tree9cfcf4cba130eb1d91f966c2a9588ce4ea9d1e29
parentd7aa44f5a1f86cb40659eef06035d8d92604b9d5
driver core: Replace printf() specifier and drop unneeded casting

The size_t type has very well established specifier, i.e. "%zu",
use it directly instead of casting to unsigned long with "%lu".

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210401171042.60612-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/devres.c