Staging: iio: Documentation: Added missing blank line after declarations.
authorHeena Sirwani <heenasirwani@gmail.com>
Mon, 6 Oct 2014 11:33:31 +0000 (17:03 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:08 +0000 (10:29 +0800)
The following patch fixes the following checkpatch.pl warning by adding
a blank line after declarations.
WARNING: Missing blank line after declarations.

Signed-off-by: Heena Sirwani <heenasirwani@gmail.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/Documentation/lsiio.c

index 24ae9694eb416c81bc042ea5ea9037bd46510c8e..a82c93da10bd8bf0b4220e95b225ca83d4688461 100644 (file)
@@ -46,6 +46,7 @@ static int dump_channels(const char *dev_dir_name)
 {
        DIR *dp;
        const struct dirent *ent;
+
        dp = opendir(dev_dir_name);
        if (dp == NULL)
                return -errno;
@@ -107,6 +108,7 @@ static void dump_devices(void)
        while (ent = readdir(dp), ent != NULL) {
                if (check_prefix(ent->d_name, type_device)) {
                        char *dev_dir_name;
+
                        asprintf(&dev_dir_name, "%s%s", iio_dir, ent->d_name);
                        dump_one_device(dev_dir_name);
                        free(dev_dir_name);
@@ -118,6 +120,7 @@ static void dump_devices(void)
        while (ent = readdir(dp), ent != NULL) {
                if (check_prefix(ent->d_name, type_trigger)) {
                        char *dev_dir_name;
+
                        asprintf(&dev_dir_name, "%s%s", iio_dir, ent->d_name);
                        dump_one_trigger(dev_dir_name);
                        free(dev_dir_name);
This page took 0.025829 seconds and 5 git commands to generate.