lkml.org 
[lkml]   [2020]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 02/12] samples: configfs: order includes alphabetically
Date
From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

The preferred coding style is to order all includes alphabetically for
improved readability. There's no need for the configfs header to come
last.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
samples/configfs/configfs_sample.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/samples/configfs/configfs_sample.c b/samples/configfs/configfs_sample.c
index e2398d94e8da..aca994e6ab87 100644
--- a/samples/configfs/configfs_sample.c
+++ b/samples/configfs/configfs_sample.c
@@ -12,11 +12,11 @@
* configfs Copyright (C) 2005 Oracle. All rights reserved.
*/

+#include <linux/configfs.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>

-#include <linux/configfs.h>



--
2.17.1
\
 
 \ /
  Last update: 2020-09-24 14:47    [W:0.129 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site