core: improve a comment in is_gpiochip_cdev()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 24 Nov 2020 14:41:50 +0000 (15:41 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 9 Dec 2020 15:41:17 +0000 (16:41 +0100)
Drop the repetition in the comment in is_gpiochip_cdev() to make it
sound better.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
lib/core.c

index 23c2047401867d4af458dc0920108dbc8c0ec3b2..bf52fa62baf828b1023af59fd63f4991400208dd 100644 (file)
@@ -190,8 +190,8 @@ static bool is_gpiochip_cdev(const char *path)
                goto out;
 
        /*
-        * Is it a symbolic link? We have to resolve symbolic link before
-        * checking the rest.
+        * Is it a symbolic link? We have to resolve it before checking
+        * the rest.
         */
        realname = S_ISLNK(statbuf.st_mode) ? realpath(path, NULL)
                                            : strdup(path);