kernel_optimize_test/drivers/phy
Masahiro Yamada 45586c7078 treewide: remove redundant IS_ERR() before error code check
'PTR_ERR(p) == -E*' is a stronger condition than IS_ERR(p).
Hence, IS_ERR(p) is unneeded.

The semantic patch that generates this commit is as follows:

// <smpl>
@@
expression ptr;
constant error_code;
@@
-IS_ERR(ptr) && (PTR_ERR(ptr) == - error_code)
+PTR_ERR(ptr) == - error_code
// </smpl>

Link: http://lkml.kernel.org/r/20200106045833.1725-1-masahiroy@kernel.org
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Cc: Julia Lawall <julia.lawall@lip6.fr>
Acked-by: Stephen Boyd <sboyd@kernel.org> [drivers/clk/clk.c]
Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> [GPIO]
Acked-by: Wolfram Sang <wsa@the-dreams.de> [drivers/i2c]
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> [acpi/scan.c]
Acked-by: Rob Herring <robh@kernel.org>
Cc: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-02-04 03:05:27 +00:00
..
allwinner phy: Enable compile testing for some of drivers 2020-01-14 10:50:19 +05:30
amlogic
broadcom phy: Enable compile testing for some of drivers 2020-01-14 10:50:19 +05:30
cadence phy: cadence: Sierra: add phy_reset hook 2020-01-14 10:50:19 +05:30
freescale
hisilicon phy: hisilicon: Fix Kconfig indentation 2019-12-20 17:00:45 +05:30
intel phy: intel-lgm-emmc: Fix warning by adding missing MODULE_LICENSE 2020-01-14 10:50:19 +05:30
lantiq phy: lantiq: vrx200-pcie: Remove unneeded semicolon 2020-01-08 12:58:06 +05:30
marvell USB/Thunderbolt/PHY driver updates for 5.6-rc1 2020-01-29 10:09:44 -08:00
mediatek phy: Enable compile testing for some of drivers 2020-01-14 10:50:19 +05:30
motorola phy: cpcap-usb: Drop extra write to usb2 register 2019-12-26 16:27:53 +05:30
mscc
qualcomm phy: for 5.6 2020-01-17 07:52:26 +01:00
ralink
renesas
rockchip phy: for 5.6 2020-01-17 07:52:26 +01:00
samsung USB/Thunderbolt/PHY driver updates for 5.6-rc1 2020-01-29 10:09:44 -08:00
socionext
st
tegra
ti phy: ti: j721e-wiz: Fix build error without CONFIG_OF_ADDRESS 2020-01-18 00:05:30 +01:00
Kconfig phy: intel-lgm-emmc: Add support for eMMC PHY 2020-01-14 10:50:19 +05:30
Makefile phy: intel-lgm-emmc: Add support for eMMC PHY 2020-01-14 10:50:19 +05:30
phy-core-mipi-dphy.c
phy-core.c treewide: remove redundant IS_ERR() before error code check 2020-02-04 03:05:27 +00:00
phy-lpc18xx-usb-otg.c
phy-pistachio-usb.c
phy-xgene.c