Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3296172imm; Mon, 4 Jun 2018 00:43:32 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIvmzk+7hi9t9ephNbQ47gKPDsr9Q5FfyDhLEbHsIICP+dzPOoUOXFsm4Nkh+vJWBotA7xj X-Received: by 2002:a63:5f54:: with SMTP id t81-v6mr16450716pgb.108.1528098212280; Mon, 04 Jun 2018 00:43:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528098212; cv=none; d=google.com; s=arc-20160816; b=VqRnGs1bBVbZN8biU8dwFUX+2cVX7GlTdwqdXabDZz+jJ5SBJOB828ax/IG72zvHeV Da3hihfwglH+7Yzi6mumxuF89Q5bUBYhqNhjw9ybqm+CMRG08f9DxXzhQM0oAmeunhDg e0WZMITvYYJyDX6oQ93rLEciTQlecvE4Mq8eR//8Rfr8A2ulUuhr2nchtnQLQBKI/voa gEh2hcPxS9www7pbq/OOrqwgP7CDSnjWmZR98G9Rv6m4UF0EJadv6q8gJPp8PFGtzS01 FA8G8KTvxixUTaauBOaVGJ5eoOeIcdUA2v3aVacd0zTCxgdf6Ioae79bSC+pG/p/maQm p1VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=d/fmDoEohCr+NwMQUc2qC1Dk4jxJ/dtxW5Wstq+fTUo=; b=XVGSO0dazMenlTShR15PE4ifo9speUi7xzYIGJUHl+BJ0XkzSGVKMqMjfMJCDKVy2+ m4CWcvqiAsMzyH+2IKGqRJ48x183HcvQvrttMF+mjlgkXjTolXH5UUPZAux50ZHmLlMC GfbdMq+oWB6p6xZs5GRaekD3GVkSbwlUIhpyweqkLV4UaulQMxim3ELs8pKDaJqUVwET nGjv7cJV5GJaksPrnN1wSn1+ADtbC8go8L6kYpB7eAw4Qc/7Gz/OwQq3TgIxO4qBzTpw jez9AozMyfQxSvL+xgIzIhTQNwaFgPmfE3IFpocZ2jjh50WTrGp7yaYIpjQxWTZ9Wsjl vLtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fXd6wsS8; 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 a24-v6si21409024pls.129.2018.06.04.00.43.18; Mon, 04 Jun 2018 00:43:32 -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=fXd6wsS8; 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 S1751988AbeFDHms (ORCPT + 99 others); Mon, 4 Jun 2018 03:42:48 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:37594 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751769AbeFDHmr (ORCPT ); Mon, 4 Jun 2018 03:42:47 -0400 Received: by mail-wr0-f195.google.com with SMTP id d8-v6so10875301wro.4 for ; Mon, 04 Jun 2018 00:42:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=d/fmDoEohCr+NwMQUc2qC1Dk4jxJ/dtxW5Wstq+fTUo=; b=fXd6wsS83hLx5+EXiyZKrmh6qOoHqgN6Y3FLjb2IiIR0AkbPvjFFrDIadVLXXIzhBj nqRoyK7XIZUlJHF7zhY6Fv1SduZcjao2NYBU5HS5WMSXC+Nl7lToAKiHUCyhtP3BUfv9 NAqWyoL5aLUdcTt0b0Uy1fCmVn72fzuuwuqn8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=d/fmDoEohCr+NwMQUc2qC1Dk4jxJ/dtxW5Wstq+fTUo=; b=RzEJDjwgdbR8Z7VCz2XJhcBTKRSkbQXBksMzW3N/IEBrWITwx+zgCiVo2XXOw/jqhm 5brwG4uI0ea02Vie6JRwI3Lae74ifoka1CGmA3JXj207qHDu06c5/y7jU11K1FZvAFsa As92b3vPdua8dC0s5AxezxbGSLT5UQs7QTkaoILJxLBAYlGkqwy2NN8MBNmxewflNIcA tNmlZXJw/8/Va4I1nfyi9h2In1j66LqT1eQHFkMQ9GKvumXDbthTuJkKnbfkTsPAvptE BzDtck69hE8jshJYS139D3WwDlEdOI+5yfpY/MFpyZ0PgDuePsB4/jw+t4v+QwxjRV5S ZCiA== X-Gm-Message-State: ALKqPwcKIcioL9n1RyDmMPBmARcwuUzqQwICjGlcgueJG4uVVghGvdu5 GdWVrpZabWelPH8iqCP+rBeOCm4qv0Q= X-Received: by 2002:adf:8650:: with SMTP id 16-v6mr8839465wrw.73.1528098166067; Mon, 04 Jun 2018 00:42:46 -0700 (PDT) Received: from dell ([2.31.167.234]) by smtp.gmail.com with ESMTPSA id q7-v6sm41926656wrf.0.2018.06.04.00.42.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Jun 2018 00:42:45 -0700 (PDT) Date: Mon, 4 Jun 2018 08:42:43 +0100 From: Lee Jones To: Gwendal Grignou Cc: bleung@chromium.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] cros_ec: Use devm_kzalloc for private data Message-ID: <20180604074243.GJ25455@dell> References: <20180530165422.51178-1-gwendal@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180530165422.51178-1-gwendal@chromium.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 30 May 2018, Gwendal Grignou wrote: > Use dev_kzmalloc, remove .release entry point. > > Signed-off-by: Gwendal Grignou > --- > Change sinc v1: > - Readd __remove to avoid a warning when loaded as a module. > > drivers/mfd/cros_ec_dev.c | 10 ++-------- > 1 file changed, 2 insertions(+), 8 deletions(-) Applied, thanks. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog