From: Bartosz Golaszewski Date: Mon, 29 Jun 2020 06:50:03 +0000 (+0200) Subject: devres: remove stray space from devm_kmalloc() definition X-Git-Tag: block-5.9-2020-08-14~13^2~39 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=63160c0a7f1df4420607c27793db0bc5f67ef95f;p=linux-block.git devres: remove stray space from devm_kmalloc() definition Use the preferred coding style for functions returning pointers. Signed-off-by: Bartosz Golaszewski Link: https://lore.kernel.org/r/20200629065008.27620-2-brgl@bgdev.pl Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/base/devres.c b/drivers/base/devres.c index 0bbb328bd17f..c34327219c34 100644 --- a/drivers/base/devres.c +++ b/drivers/base/devres.c @@ -807,7 +807,7 @@ static int devm_kmalloc_match(struct device *dev, void *res, void *data) * RETURNS: * Pointer to allocated memory on success, NULL on failure. */ -void * devm_kmalloc(struct device *dev, size_t size, gfp_t gfp) +void *devm_kmalloc(struct device *dev, size_t size, gfp_t gfp) { struct devres *dr;