From mboxrd@z Thu Jan 1 00:00:00 1970 From: Krzysztof Kozlowski Subject: Re: [PATCH v7 05/15] power: bq24257: Simplify bq24257_power_supply_init() Date: Mon, 28 Sep 2015 22:10:45 +0900 Message-ID: <56093C55.2030900@samsung.com> References: <1443196460-26156-1-git-send-email-dannenberg@ti.com> <1443196460-26156-6-git-send-email-dannenberg@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1443196460-26156-6-git-send-email-dannenberg-l0cyMroinI0@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Andreas Dannenberg , Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Laurentiu Palcu Cc: Ramakrishna Pallala , linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org W dniu 26.09.2015 o 00:54, Andreas Dannenberg pisze: > Eliminate a few lines of code by using the PTR_ERR_OR_ZERO() macro. > > Signed-off-by: Andreas Dannenberg > --- > drivers/power/bq24257_charger.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof