Message ID | 4948c6d9-af42-8c95-af38-fc448a8e25a2@users.sourceforge.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EAD2760594 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 9 Mar 2018 16:03:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D033D29E06 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 9 Mar 2018 16:03:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CE8E329D08; Fri, 9 Mar 2018 16:03:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9DD8D29E06 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 9 Mar 2018 16:02:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:References:To:From:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3i4JUi61vgFA9E00EBEgpeX7UDiT6aWzyKD/H+jt0jQ=; b=nnJZ+CaEGc1Cgl BCQXrLSTjkZpude0qnJvxJ/Uq3il4VkEvVG9iZ4flPVafJd1srx08xbGMGTX2powLlFAfy6tNsdR0 m8Uh5Vn1onklVUMOOZX/RnvPz1ZoAK8eHaadp84dLXp8NN+smyli6hQeKzy43NsVsn72XAhr44GbV eBnfJ2wgakJBBhc8FjuEOVT+HcFxyWkY9XzA8W5hB5G0GTbvcVOAd2lvwKSvgyTvn3rn5fZ+7DJu5 sxS25QDuTvIz6FGduKPO8SyPfMetbZcPNOU4u7gbmODF5+xVIyjqxJuONreIK7tSnziXNbh7z2boe s+xJEbRlDZkHLQ/3uRUg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1euKT0-0006dV-2W; Fri, 09 Mar 2018 16:01:58 +0000 Received: from mout.web.de ([212.227.17.11]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1euKSw-0006bf-FY for linux-arm-kernel@lists.infradead.org; Fri, 09 Mar 2018 16:01:56 +0000 Received: from [192.168.1.2] ([92.228.30.253]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MddBI-1fJhTo0KGi-00PKgG; Fri, 09 Mar 2018 17:01:36 +0100 Subject: [PATCH v2 01/17 1/3] mfd: abx500-core: Delete an error message for a failed memory allocation in abx500_register_ops() From: SF Markus Elfring <elfring@users.sourceforge.net> To: Linus Walleij <linus.walleij@linaro.org>, Lee Jones <lee.jones@linaro.org>, linux-arm-kernel@lists.infradead.org References: <c5d9751e-3ae8-0b66-821a-0e7f45bb8e1c@users.sourceforge.net> <6c8ff539-9e9d-635b-22a8-df8100ac8156@users.sourceforge.net> Message-ID: <4948c6d9-af42-8c95-af38-fc448a8e25a2@users.sourceforge.net> Date: Fri, 9 Mar 2018 17:01:35 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <6c8ff539-9e9d-635b-22a8-df8100ac8156@users.sourceforge.net> Content-Language: en-GB X-Provags-ID: V03:K0:W4NNCz8Tr4As0FnF297humGUJEH3ZiJ0oInQ58F6O9iXox1b+is PogWUL/1QTIjWglvCm4yx0Ucvw0RCGkmlq7JYY5rGjxPg0ZWhpPDa8Oa9Gpz6aAgeMFRKV1 TCDaLVhX9wUYc6LnqFz+lQDRz1FPoKXIAnUXwrXr3h3YatrYbBhJ1OMPhv+7YStgceGCO/1 o0k+TEljKLgurLyVSmiGQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:TPJwqtbaTO0=:T9pfSToeKzkZ9ve0Yt4oWQ Py/P7tG6MICkCgLiDJUYgMQvtY5a7pnyOtIKB24SWyWG0ujXNcERBn5+L6zQpPRBKwdeyLG2O jCngAJMM//6gDr/BuG5IAEqDVGEEmLFu13iP174QRlOmE+w26tw8f1ASCfu5ZXB2tT0LkMUmn P77EcoqxUMaQ9jmKxseczZpCz7rxUjgTcyAN1SGODHMATaoVQnKABi/SF4KFRKdrsSs2dAyHw EIQQcu5lmO+0w+eCY39pS32y4ds4q5V5sMFFZhhoQL3dmQlPdg1Tpn4g5qhw+UbfPNE4HtG5S FeH/f6eGzsxtHo+KQRAKNKDWKhSEyDDOOzwQ2+U/DcuPd9c41+SfzQCgESra2Pqt43N8BUgca da6ZSyXy7CyNrnqVmx1iQD+viIz9JrGyJHFx3ERZrnmSkBwx2nc0eWhn7GbiTPNqWLCBZgxPW Ultu8cu9GihkPNbztJAhTL2s2IXGitpMzz1OG5/UKoCDfWwNOu3aBmSlGoblN7eCF1GsJq64j jV6Ly/btxzVDH+SyApkr/guG7ihnjdi5PfM92oCQfZcUUjTOblv3F6uPn0D8CFTlc2JglNtH8 7IJQDa2Ol6UcxUhGL0gW80Wc9+rHaBoOFFVCqHRTo3s2CZbzjgBD2YVSs7uo1RzHDpFPI3C0v 5Tfl4Y7uTbnr0jRoJ837uNaIPGHO/iasNPnFT+s/onMQ2uC/JWe/8rd+4lQm5rvfdUKwKS38e 455KRF28bibmxbW+w0a9JcPfrhr1zPvABFYZX0s6pTuYk3JXplK2Y2364h7f+Dd2UzWcTsF2e IRpqCyF3TzpdbEQOY7atgpHaV2MGqwzmv8MayzaVA5XqLxEM60= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180309_080154_846847_CE20D419 X-CRM114-Status: GOOD ( 12.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: kernel-janitors@vger.kernel.org, LKML <linux-kernel@vger.kernel.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/mfd/abx500-core.c b/drivers/mfd/abx500-core.c index 0d3846a4767c..c8c9d41abcaa 100644 --- a/drivers/mfd/abx500-core.c +++ b/drivers/mfd/abx500-core.c @@ -40,10 +40,9 @@ int abx500_register_ops(struct device *dev, struct abx500_ops *ops) dev_entry = devm_kzalloc(dev, sizeof(struct abx500_device_entry), GFP_KERNEL); - if (!dev_entry) { - dev_err(dev, "register_ops kzalloc failed"); + if (!dev_entry) return -ENOMEM; - } + dev_entry->dev = dev; memcpy(&dev_entry->ops, ops, sizeof(struct abx500_ops));