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>
This commit is contained in:
Родитель
3022c6a1b4
Коммит
63160c0a7f
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче