Commit Graph

4 Commits

Author SHA1 Message Date
Kate Hsuan 829054ecac treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_30.RULE (part 2)
JIRA: https://issues.redhat.com/browse/RHEL-67885

Conflicts: skipped updating the dirvers since they were not included.
sound/soc/bcm/cygnus-pcm.c
sound/soc/bcm/cygnus-ssp.c
sound/soc/bcm/cygnus-ssp.h
drivers/mailbox/bcm-flexrm-mailbox.c
drivers/media/platform/ti/davinci/vpif_display.h
drivers/media/platform/ti/davinci/vpif.h

commit 2aec85b26f39fa9e036c5872950c0ef9b479a1ec
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 7 Jun 2022 16:11:13 +0200

  Based on the normalized pattern:

      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 version 2  this program is distributed as is
      without any warranty of any kind whether express or implied 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-only

  has been chosen to replace the boilerplate/reference.

  Reviewed-by: Allison Randal <allison@lohutok.net>
  Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Signed-off-by: Kate Hsuan <hpa@redhat.com>
2024-11-27 09:40:24 +08:00
Stephen Boyd 0bec8b7e5c Input: remove dev_err() usage after platform_get_irq()
We don't need dev_err() messages when platform_get_irq() fails now that
platform_get_irq() prints an error message itself when something goes
wrong. Let's remove these prints with a simple semantic patch.

// <smpl>
@@
expression ret;
struct platform_device *E;
@@

ret =
(
platform_get_irq(E, ...)
|
platform_get_irq_byname(E, ...)
);

if ( \( ret < 0 \| ret <= 0 \) )
{
(
-if (ret != -EPROBE_DEFER)
-{ ...
-dev_err(...);
-... }
|
...
-dev_err(...);
)
...
}
// </smpl>

While we're here, remove braces on if statements that only have one
statement (manually).

Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2019-08-14 10:49:01 -07:00
Raveendra Padasalagi 74813cebd6 Input: bcm_iproc_tsc - use syscon to access shared registers
In Cygnus SOC touch screen controller registers are shared with ADC and
flex timer. Using readl/writel could lead to race condition. So touch
screen driver is enhanced to support register access using syscon framework
API's to take care of mutually exclusive access.

Signed-off-by: Raveendra Padasalagi <raveendra.padasalagi@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2016-04-06 16:11:56 -07:00
Jonathan Richardson d5ae685f15 Input: add Broadcom iProc touchscreen driver
Add initial version of the Broadcom touchscreen driver.

Reviewed-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
Tested-by: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Jonathan Richardson <jonathar@broadcom.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2015-03-23 11:04:48 -07:00