Author: Gregory CLEMENT <gregory.clement@free-electrons.com> Use PTR_ERR_OR_ZERO rather than if(IS_ERR(…)) + PTR_ERR Generated by: coccinelle/api/ptr_ret.cocci Signed-off-by: Gregory CLEMENT Acked-by: Jason Cooper Signed-off-by: Kishon Vijay Abraham I — drivers/phy/phy-berlin-sata.c | 5 +—- drivers/phy/phy-hix5hd2-sata.c | 5 +—- drivers/phy/phy-miphy365x.c | 5 +—- drivers/phy/phy-stih41x-usb.c | 5 +—- 4 files changed, 4 insertions(+), 16 deletions(-) diff –git a/drivers/phy/phy-berlin-sata.c b/drivers/phy/phy-berlin-sata.c index …
Privacy Overview
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.