Staging: iio: Documentation: Added missing blank line after declarations.
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>
This commit is contained in:
parent
30439b29b8
commit
d1e5041345
|
@ -46,6 +46,7 @@ static int dump_channels(const char *dev_dir_name)
|
||||||
{
|
{
|
||||||
DIR *dp;
|
DIR *dp;
|
||||||
const struct dirent *ent;
|
const struct dirent *ent;
|
||||||
|
|
||||||
dp = opendir(dev_dir_name);
|
dp = opendir(dev_dir_name);
|
||||||
if (dp == NULL)
|
if (dp == NULL)
|
||||||
return -errno;
|
return -errno;
|
||||||
|
@ -107,6 +108,7 @@ static void dump_devices(void)
|
||||||
while (ent = readdir(dp), ent != NULL) {
|
while (ent = readdir(dp), ent != NULL) {
|
||||||
if (check_prefix(ent->d_name, type_device)) {
|
if (check_prefix(ent->d_name, type_device)) {
|
||||||
char *dev_dir_name;
|
char *dev_dir_name;
|
||||||
|
|
||||||
asprintf(&dev_dir_name, "%s%s", iio_dir, ent->d_name);
|
asprintf(&dev_dir_name, "%s%s", iio_dir, ent->d_name);
|
||||||
dump_one_device(dev_dir_name);
|
dump_one_device(dev_dir_name);
|
||||||
free(dev_dir_name);
|
free(dev_dir_name);
|
||||||
|
@ -118,6 +120,7 @@ static void dump_devices(void)
|
||||||
while (ent = readdir(dp), ent != NULL) {
|
while (ent = readdir(dp), ent != NULL) {
|
||||||
if (check_prefix(ent->d_name, type_trigger)) {
|
if (check_prefix(ent->d_name, type_trigger)) {
|
||||||
char *dev_dir_name;
|
char *dev_dir_name;
|
||||||
|
|
||||||
asprintf(&dev_dir_name, "%s%s", iio_dir, ent->d_name);
|
asprintf(&dev_dir_name, "%s%s", iio_dir, ent->d_name);
|
||||||
dump_one_trigger(dev_dir_name);
|
dump_one_trigger(dev_dir_name);
|
||||||
free(dev_dir_name);
|
free(dev_dir_name);
|
||||||
|
|
Loading…
Reference in New Issue