lkml.org 
[lkml]   [2018]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/4] staging: iio: accel: adis16201: Use SPDX identifier
    Date
    Use SPDX identifier format instead of GPLv2. Also, rearrange the headers
    in the alphabetical order.

    Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
    ---
    drivers/staging/iio/accel/adis16201.c | 7 +++----
    1 file changed, 3 insertions(+), 4 deletions(-)

    diff --git a/drivers/staging/iio/accel/adis16201.c b/drivers/staging/iio/accel/adis16201.c
    index 2ebd275..b2145c9 100644
    --- a/drivers/staging/iio/accel/adis16201.c
    +++ b/drivers/staging/iio/accel/adis16201.c
    @@ -1,19 +1,18 @@
    +// SPDX-License-Identifier: GPL-2.0+
    /*
    * ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer
    *
    * Copyright 2010 Analog Devices Inc.
    - *
    - * Licensed under the GPL-2 or later.
    */

    #include <linux/delay.h>
    -#include <linux/mutex.h>
    #include <linux/device.h>
    #include <linux/kernel.h>
    +#include <linux/module.h>
    +#include <linux/mutex.h>
    #include <linux/spi/spi.h>
    #include <linux/slab.h>
    #include <linux/sysfs.h>
    -#include <linux/module.h>

    #include <linux/iio/iio.h>
    #include <linux/iio/sysfs.h>
    --
    2.7.4
    \
     
     \ /
      Last update: 2018-02-12 12:56    [W:2.556 / U:0.152 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site