]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libudev/libudev-device.c
tree-wide: beautify remaining copyright statements
[thirdparty/systemd.git] / src / libudev / libudev-device.c
index 995bf56586b59a766b19f29d082e34ff48eb1bad..991a4606f8a61cc021a7fbc11775db7473a7f607 100644 (file)
@@ -1,21 +1,7 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
 /***
-  This file is part of systemd.
-
-  Copyright 2008-2012 Kay Sievers <kay@vrfy.org>
-  Copyright 2015 Tom Gundersen <teg@jklm.no>
-
-  systemd is free software; you can redistribute it and/or modify it
-  under the terms of the GNU Lesser General Public License as published by
-  the Free Software Foundation; either version 2.1 of the License, or
-  (at your option) any later version.
-
-  systemd is distributed in the hope that it will be useful, but
-  WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-  Lesser General Public License for more details.
-
-  You should have received a copy of the GNU Lesser General Public License
-  along with systemd; If not, see <http://www.gnu.org/licenses/>.
+  Copyright © 2008-2012 Kay Sievers <kay@vrfy.org>
+  Copyright © 2015 Tom Gundersen <teg@jklm.no>
 ***/
 
 #include <ctype.h>
@@ -142,7 +128,7 @@ _public_ const char *udev_device_get_driver(struct udev_device *udev_device)
  *
  * Retrieve the devtype string of the udev device.
  *
- * Returns: the devtype name of the udev device, or #NULL if it can not be determined
+ * Returns: the devtype name of the udev device, or #NULL if it cannot be determined
  **/
 _public_ const char *udev_device_get_devtype(struct udev_device *udev_device)
 {
@@ -167,7 +153,7 @@ _public_ const char *udev_device_get_devtype(struct udev_device *udev_device)
  * Retrieve the subsystem string of the udev device. The string does not
  * contain any "/".
  *
- * Returns: the subsystem name of the udev device, or #NULL if it can not be determined
+ * Returns: the subsystem name of the udev device, or #NULL if it cannot be determined
  **/
 _public_ const char *udev_device_get_subsystem(struct udev_device *udev_device)
 {
@@ -495,7 +481,7 @@ _public_ struct udev_device *udev_device_get_parent_with_subsystem_devtype(struc
                 return NULL;
         }
 
-        /* then walk the chain of udev_device parents until the correspanding
+        /* then walk the chain of udev_device parents until the corresponding
            one is found */
         while ((udev_device = udev_device_get_parent(udev_device))) {
                 if (udev_device->device == parent)