1. 10 5月, 2021 1 次提交
  2. 10 1月, 2021 1 次提交
  3. 14 6月, 2020 1 次提交
    • A
      iio: remove explicit IIO device parent assignment · d3be8324
      Alexandru Ardelean 提交于
      This patch applies the semantic patch:
      @@
      expression I, P, SP;
      @@
         I = devm_iio_device_alloc(P, SP);
         ...
      -  I->dev.parent = P;
      
      It updates 302 files and does 307 deletions.
      This semantic patch also removes some comments like
      '/* Establish that the iio_dev is a child of the i2c device */'
      
      But this is is only done in case where the block is left empty.
      
      The patch does not seem to cover all cases. It looks like in some cases a
      different variable is used in some cases to assign the parent, but it
      points to the same reference.
      In other cases, the block covered by ... may be just too big to be covered
      by the semantic patch.
      
      However, this looks pretty good as well, as it does cover a big bulk of the
      drivers that should remove the parent assignment.
      Signed-off-by: NAlexandru Ardelean <alexandru.ardelean@analog.com>
      Signed-off-by: NJonathan Cameron <Jonathan.Cameron@huawei.com>
      d3be8324
  4. 31 5月, 2019 1 次提交
    • T
      treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 · c942fddf
      Thomas Gleixner 提交于
      Based on 3 normalized pattern(s):
      
        this program is free software you can redistribute it and or modify
        it under the terms of the gnu general public license as published by
        the free software foundation either version 2 of the license or at
        your option any later version this program 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 general public license for more details
      
        this program is free software you can redistribute it and or modify
        it under the terms of the gnu general public license as published by
        the free software foundation either version 2 of the license or at
        your option any later version [author] [kishon] [vijay] [abraham]
        [i] [kishon]@[ti] [com] this program 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 general public license for more details
      
        this program is free software you can redistribute it and or modify
        it under the terms of the gnu general public license as published by
        the free software foundation either version 2 of the license or at
        your option any later version [author] [graeme] [gregory]
        [gg]@[slimlogic] [co] [uk] [author] [kishon] [vijay] [abraham] [i]
        [kishon]@[ti] [com] [based] [on] [twl6030]_[usb] [c] [author] [hema]
        [hk] [hemahk]@[ti] [com] this program 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 general public license for more details
      
      extracted by the scancode license scanner the SPDX license identifier
      
        GPL-2.0-or-later
      
      has been chosen to replace the boilerplate/reference in 1105 file(s).
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Reviewed-by: NAllison Randal <allison@lohutok.net>
      Reviewed-by: NRichard Fontana <rfontana@redhat.com>
      Reviewed-by: NKate Stewart <kstewart@linuxfoundation.org>
      Cc: linux-spdx@vger.kernel.org
      Link: https://lkml.kernel.org/r/20190527070033.202006027@linutronix.deSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c942fddf
  5. 20 5月, 2018 1 次提交
  6. 23 8月, 2017 1 次提交
  7. 20 8月, 2017 1 次提交
  8. 17 5月, 2017 1 次提交
  9. 25 11月, 2016 1 次提交
  10. 13 11月, 2016 27 次提交
  11. 09 11月, 2016 1 次提交
    • A
      staging: iio: tsl2583: fix unused function warning · c266cda2
      Arnd Bergmann 提交于
      Removing a call to the taos_chip_off() makes it unused when CONFIG_PM
      is disabled:
      
      drivers/staging/iio/light/tsl2583.c:438:12: error: ‘taos_chip_off’ defined but not used [-Werror=unused-function]
      
      This removes all the #ifdef in this file, and marks the PM functions as
      __maybe_unused instead, which is more reliable and gives us better
      compile time coverage.
      
      Fixes: 0561155f ("staging: iio: tsl2583: don't shutdown chip when updating the lux table")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      c266cda2
  12. 06 11月, 2016 3 次提交