Received: by 10.192.165.156 with SMTP id m28csp906749imm; Thu, 19 Apr 2018 09:27:03 -0700 (PDT) X-Google-Smtp-Source: AIpwx492aAK1uPQLV56VGlE0Nntx/b3vN1AOs03yv4PNDuoN43J9DItn5VYh1BpkAhM++YaeoXXQ X-Received: by 2002:a17:902:aa0b:: with SMTP id be11-v6mr6871794plb.179.1524155223511; Thu, 19 Apr 2018 09:27:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524155223; cv=none; d=google.com; s=arc-20160816; b=wUgYLo2/mXFd76eySnp2i0E3QgayczCCrnOTeELye0wOhWUPmOLJoFsgURjBrgAr80 wumEHTCX7BZzIYaP3iyILW9r/lA4cvfHwDWLF5lk9CIGKyzcquegiYj4YMnTiXqNLMh/ oiYJWZtzJquR8nOu52Jo8Tt9E7V2LIp+Ng6dUHbZOpOzPzlKvr0We99dQtpb2+Rw0aBg R4OIxv26aDgczLc4LfEehKxsoTi/ch9PT/G7BF6NU6h/ymj2j+7pU9Zdn3MwFN7+9tdy S++M4HjL/1J2wEVob2Pel7qWb2WlP31Efbs6tx10HMvK97ad4Pukw1OGILsAVMZO+BCF 8XAw== 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 :arc-authentication-results; bh=hPMQ/LaRuCvchvpmkdgnYLH0Hi0+lIGUizAGKseLhL4=; b=UQKkaL7Uw3bYIGIJvuYAJ+Is/mBx9YhoHJWNd8dAsTiJHqRSryZgcNh9Q08CkI7zEg Z13xWocHutw8bpndytM+cSu0egiJvPWLzzQKUbpGxM9+XsHOhVn3SA0TgYlXDIfDudl4 lqIg+0uF3PXuFXzK1oWckvpD0nx2utaOCvbsdlCsi4N/YGARaJzSvxJZEzr1llaTj14G 95iy7UMYyVgu9+tZAYLN7EPUNiAwuZjRHqteuElta/3aJrnaBU0Jv+MCP3h0EDtjW3nu 4PWHaeTnRXKK6XV35kvkzygKRSL7by8IxgNZzP4FpO5xG3GQmGugmJ4rwkSUPq8MKLfK CPow== 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 i1-v6si3555691plt.178.2018.04.19.09.26.47; Thu, 19 Apr 2018 09:27:03 -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 S1753943AbeDSQXf (ORCPT + 99 others); Thu, 19 Apr 2018 12:23:35 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:54073 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753609AbeDSQXe (ORCPT ); Thu, 19 Apr 2018 12:23:34 -0400 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1f9CLJ-0002Ht-AK; Thu, 19 Apr 2018 18:23:29 +0200 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1f9CLE-0002kd-Ol; Thu, 19 Apr 2018 18:23:24 +0200 Date: Thu, 19 Apr 2018 18:23:24 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Wolfram Sang Cc: linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, kernel-janitors@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , Patrice Chotard , Michal Simek , linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 53/61] tty: serial: simplify getting .drvdata Message-ID: <20180419162324.f46tsdomp4vi67cb@pengutronix.de> References: <20180419140641.27926-1-wsa+renesas@sang-engineering.com> <20180419140641.27926-54-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180419140641.27926-54-wsa+renesas@sang-engineering.com> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Wolfram, On Thu, Apr 19, 2018 at 04:06:23PM +0200, Wolfram Sang wrote: > We should get drvdata from struct device directly. Going via > platform_device is an unneeded step back and forth. > > Signed-off-by: Wolfram Sang > --- > > Build tested only. buildbot is happy. Please apply individually. > > drivers/tty/serial/imx.c | 18 ++++++------------ for serial/imx.c: Acked-by: Uwe Kleine-K?nig Thanks Wolfram for going through this Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |