UIO: fix up inapposite whiteplace in uio head file
authorQiang Su <suqiang4@huawei.com>
Fri, 6 Mar 2020 07:03:59 +0000 (15:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2020 11:34:10 +0000 (12:34 +0100)
Whitespace is used in the inapposite place,
which makes checkpatch complain.

Signed-off-by: Qiang Su <suqiang4@huawei.com>
Link: https://lore.kernel.org/r/20200306070359.71398-1-suqiang4@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/uio_driver.h

index 01081c4..461db05 100644 (file)
@@ -24,10 +24,10 @@ struct uio_map;
  * struct uio_mem - description of a UIO memory region
  * @name:              name of the memory region for identification
  * @addr:               address of the device's memory rounded to page
- *                     size (phys_addr is used since addr can be
- *                     logical, virtual, or physical & phys_addr_t
- *                     should always be large enough to handle any of
- *                     the address types)
+ *                     size (phys_addr is used since addr can be
+ *                     logical, virtual, or physical & phys_addr_t
+ *                     should always be large enough to handle any of
+ *                     the address types)
  * @offs:               offset of device memory within the page
  * @size:              size of IO (multiple of page size)
  * @memtype:           type of memory addr points to
@@ -67,16 +67,16 @@ struct uio_port {
 #define MAX_UIO_PORT_REGIONS   5
 
 struct uio_device {
-        struct module           *owner;
+       struct module           *owner;
        struct device           dev;
-        int                     minor;
-        atomic_t                event;
-        struct fasync_struct    *async_queue;
-        wait_queue_head_t       wait;
-        struct uio_info         *info;
+       int                     minor;
+       atomic_t                event;
+       struct fasync_struct    *async_queue;
+       wait_queue_head_t       wait;
+       struct uio_info         *info;
        struct mutex            info_lock;
-        struct kobject          *map_dir;
-        struct kobject          *portio_dir;
+       struct kobject          *map_dir;
+       struct kobject          *portio_dir;
 };
 
 /**