Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp7235430ybp; Wed, 16 Oct 2019 05:56:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvW6IYKbsPvlmlnolTepVbV7ZsvmIgjsfmXG79tXMrklBSIL4XETMGJNoJ4A8n77ev8Uf3 X-Received: by 2002:a17:906:3010:: with SMTP id 16mr40356232ejz.74.1571230577376; Wed, 16 Oct 2019 05:56:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571230577; cv=none; d=google.com; s=arc-20160816; b=hRtN0tA3/UIBzsi3P/h5ErHwwslVQSdrByxZcdSLwekpaJrghk96jB0WKbaMHxgEaz FeHwbiykc1zQJzv+V8X0CSbh2HTvEHOwYF92TXdIQEDR/zML/nZYRnAK7nv5c03B/PmE iMJhrakophCzV4jB6n56V/vEN3KdPvXsnw0YH09PUuoh4sfIHD+sKeZdCpci3Cdyz34F WO3sE67355exmInML5f/Std3Z1NQ4nLmNSprIdH7Rvor2A151gCyIn5R/RC5cRDNadw6 yZLr13Gt/de3IPgCoP6IA3z9TLH/PewW/22HIiYxMeZCPpCCv3R9I1QmJkZbvs5Ojp/E jbPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=JKOYOlw144swLoW1bASjxt+2YuF19IE2PHXVrwsgFxI=; b=lcqK3Vpw0Jh829c4kvdhpk7SgJ76OsdfNyMKrmsYeznsV8ZM5kdLaXh6IPO58X3niO uO1JChGe3gNC1aB+MkAHl7OJOxg+kKk0Z+vXtcCQC4ZvjbGpA5eTgebyDFEoi1ZJlDEE xsrRycmX0zR8LrW4hkCtaSva4i1YGNJtjD2DWns7yplc83EatAiF08OmJcMDYQY2yNOV 7oW8QChn6c+VZ2YhwGxH6w+3HqT2TBTYuNZfNJETfvcR+f8+PvBNLIfulpz0Kx59s/DZ OIr6xLCcXXvP0AUMQcclx+tMtaswC6mFgCuNKdNikygxTPM3ywlo1RtdLihqQapMSmos exnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="r/HUFUT2"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hh9si14202106ejb.313.2019.10.16.05.55.54; Wed, 16 Oct 2019 05:56:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="r/HUFUT2"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388793AbfJPId0 (ORCPT + 99 others); Wed, 16 Oct 2019 04:33:26 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:39292 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388676AbfJPId0 (ORCPT ); Wed, 16 Oct 2019 04:33:26 -0400 Received: by mail-lf1-f67.google.com with SMTP id 195so3764550lfj.6 for ; Wed, 16 Oct 2019 01:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JKOYOlw144swLoW1bASjxt+2YuF19IE2PHXVrwsgFxI=; b=r/HUFUT2hHS1cmWHIYJbEY9FE8fC8Ukn4uYCeAkUEGRVmlhy+ASdQddcDde/8K7taB LRB793fgb5pYk/lMH74TNXCvhVmTmm3sV9ww9tYtgdGoxRsu0kNCiba+hwdyaWD1CR8X LGmf2ZZ0QrX3ZIkR52njFsp/wTNEJfQlxKJ2LY2WGGwM/FGGrYZHgTKohN9KoVrGiLAW FU3IaLUNMAyW624zTk//zndh38HwJ8vaAVhtqYPITabahQmCw9ILH5q7qQfbhri1mD1x h5+Kn+46MPImZ6j4sJzf67MFIp2WyhnuY/PlD8YPPhESNI0z9bbTzAK17NCsMaKSytzG 53ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JKOYOlw144swLoW1bASjxt+2YuF19IE2PHXVrwsgFxI=; b=MX1cnfIPGVNHMn8aBC8HrzGQWTwmYHbJywZVtuxkqhYGDC3eFGO1uCwlUJMuYe2RBW GIEXE1Jtwui1aLTqS7IjSewdgniA6BdER/AQKfT/4kHw1h9D9T/4+vKCrwVh9oKbqbW5 hfFzvJdJafvKTuqd49n5o9i3xF7YNrqFBV2V+Dh9dBPBqNjQwIttxJxZQN+fjq+C7iAc 7LC5BgabgFC34s5MGak7vNdNHvzOfE7GnUUwT83RbhcZIb8DEw7BKQhM5GoDG2thBo+f Lmdb+9+4Y08mLFvockoL+pLFcK9WZoPWwX6vPkY2InPUEq+ZRQVgvytxKdqj6EzaOb7Y vWFw== X-Gm-Message-State: APjAAAXdcWqejRg4wzAwchL1u+z6S4HyhTQUmlEjdKc+n0GmTE33Pdca rMx0+JxgcXTdM9HgExlbmOipTJeiwsFzfaOTKpQYThv3Kv8= X-Received: by 2002:a19:ae05:: with SMTP id f5mr23355878lfc.165.1571214804829; Wed, 16 Oct 2019 01:33:24 -0700 (PDT) MIME-Version: 1.0 References: <20191004150738.6542-1-krzk@kernel.org> In-Reply-To: <20191004150738.6542-1-krzk@kernel.org> From: Linus Walleij Date: Wed, 16 Oct 2019 10:33:12 +0200 Message-ID: Subject: Re: [RFT 1/3] power: supply: ab8500: Cleanup probe in reverse order To: Krzysztof Kozlowski Cc: Sebastian Reichel , "Gustavo A. R. Silva" , Linux PM list , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 4, 2019 at 5:07 PM Krzysztof Kozlowski wrote: > It is logical to cleanup in probe's error path in reverse order to > previous actions. It also makes easier to add additional goto labels > within this error path. > > Signed-off-by: Krzysztof Kozlowski For all 3 patches: Acked-by: Linus Walleij The battery charging code is currently disabled on ux500 simply because no platforms with batteries were available for testing or supported by any device trees. This is getting fix: PostmarketOS is brewing patches for enabling all Ux500-based Samsung phones, all with batteries. So we will soon be able to test and turn this on. The patches are fine to merge, however notice that we are refactoring all drivers using ADC through the IIO tree: https://lore.kernel.org/linux-iio/20191011071805.5554-4-linus.walleij@linaro.org/ https://lore.kernel.org/linux-iio/20191011071805.5554-2-linus.walleij@linaro.org/ https://lore.kernel.org/linux-iio/20191011071805.5554-3-linus.walleij@linaro.org/ It would be nice if we could avoid colissions. Yours, Linus Walleij