summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2020-06-29 09:50:03 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-02 15:36:01 +0300
commit63160c0a7f1df4420607c27793db0bc5f67ef95f (patch)
tree7df3ea64ab4c9d6f360e04b0c35f7421127147db /drivers/base
parent3022c6a1b4b76c40aab9dcdf5142c501f3d3ae8c (diff)
downloadlinux-63160c0a7f1df4420607c27793db0bc5f67ef95f.tar.xz
devres: remove stray space from devm_kmalloc() definition
Use the preferred coding style for functions returning pointers. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Link: https://lore.kernel.org/r/20200629065008.27620-2-brgl@bgdev.pl Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/devres.c2
1 files changed, 1 insertions, 1 deletions
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;