Received: by 10.192.165.148 with SMTP id m20csp1651706imm; Sat, 21 Apr 2018 12:36:57 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/9JtwkL8/k49ISCMt3zR3tRYuZD+KIgIoGyt1YA5/WmpoUSHtgPtk5WHu1J5yy8Pengzte X-Received: by 2002:a17:902:43a4:: with SMTP id j33-v6mr14874483pld.260.1524339416975; Sat, 21 Apr 2018 12:36:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524339416; cv=none; d=google.com; s=arc-20160816; b=JAX2k4W0s+fjsCjhgXXk9hk2uWYhdXw6edpbQwsc2Mj68aTr8vHCEyb4L5NPtJqQRi JU4crs/Hcd4YeIU8mKWgBnORxTRfwXbdwvdP0Lf1TPSHEKNfAFzn+cqGG9y+2Rc1NmJj wLdTPH5vQ5aVkWrmb3A9jCVsEFw1aMJLYVxw0+znNDSPOZ+KcTYmGwT4swcYoW4FCIGN R+fITxmy57UK5BlaI2h5tOw5U6aKKb9qxLGfEMrPIX8hVkETBVtiCWvy8emKcsph75wL Ymvk3yWYfFgaR6RGfhUEass7V2aLyrjCVh/NJzNYS9l6jkhwk6I4Mp4HzQyXnZsdLW+b bzHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from :arc-authentication-results; bh=vVZp/qO9WHxbh35EO/KjSj3cWIByj0aA4n1RB/rivAI=; b=GZztyvS5HMHjWnylPHezYG60sVuSQT5zGAM149PgcgmPYe78PQZpP3JLCoeTyHOO7R +lIFIBVeBDldSHzmLOgpIc+PfB1zj7i2nKC6q6OLveeqAlIQm8ipJuc3bUMKu0V0gV9x Q4w2KLYnOrwWYecbTpzWNJmIeO8GDTCXDHK+t+afnU7ud35lowsKYHRDhwKlGrZQspM8 dLqorwdCDL7EPTvX1DwsBaAghPJuCtoA2/prX46NDFQL0xHgJYiAUxvuw+mkSMEpHgJy Pt1gUTCft4fXX9IpOOJfcsncmyvZavX+8p0YNt/d57EJ2h1tBVTdQ9Xw6dMikVvfM8Jo oycQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31-v6si8443529plz.364.2018.04.21.12.36.42; Sat, 21 Apr 2018 12:36:56 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753386AbeDUTf3 (ORCPT + 99 others); Sat, 21 Apr 2018 15:35:29 -0400 Received: from smtp13.smtpout.orange.fr ([80.12.242.135]:46174 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753158AbeDUTf1 (ORCPT ); Sat, 21 Apr 2018 15:35:27 -0400 Received: from belgarion ([90.55.212.125]) by mwinf5d71 with ME id d7bN1x0022itRW2037bN0o; Sat, 21 Apr 2018 21:35:26 +0200 X-ME-Helo: belgarion X-ME-Auth: amFyem1pay5yb2JlcnRAb3JhbmdlLmZy X-ME-Date: Sat, 21 Apr 2018 21:35:26 +0200 X-ME-IP: 90.55.212.125 From: Robert Jarzmik To: Wolfram Sang Cc: linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, kernel-janitors@vger.kernel.org, David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , linux-mtd@lists.infradead.org Subject: Re: [PATCH 29/61] mtd: devices: simplify getting .drvdata References: <20180419140641.27926-1-wsa+renesas@sang-engineering.com> <20180419140641.27926-30-wsa+renesas@sang-engineering.com> X-URL: http://belgarath.falguerolles.org/ Date: Sat, 21 Apr 2018 21:35:21 +0200 In-Reply-To: <20180419140641.27926-30-wsa+renesas@sang-engineering.com> (Wolfram Sang's message of "Thu, 19 Apr 2018 16:05:59 +0200") Message-ID: <87o9icxshy.fsf@belgarion.home> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Wolfram Sang writes: > We should get drvdata from struct device directly. Going via > platform_device is an unneeded step back and forth. > > Signed-off-by: Wolfram Sang Acked-by: Robert Jarzmik Cheers. -- Robert