Received: by 10.192.165.148 with SMTP id m20csp384445imm; Wed, 2 May 2018 01:53:13 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqqmaUV1+ll2kdOMykCuA73PTZcR+QUqLBbYpj4Qw9gyYYNJZ4JGk8E02cgUGAOZdAu0jXG X-Received: by 2002:a17:902:40d:: with SMTP id 13-v6mr19277381ple.117.1525251193855; Wed, 02 May 2018 01:53:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525251193; cv=none; d=google.com; s=arc-20160816; b=zxPs6HjbQUZb6VMRQlHd/HvL1+sqg4EinUvBEkHAEiGemKJDYNxjCEIL+OyVdevEwt YJRaagAdoitcbodT7wGIr+7EXr1Xw73ITnBLCoIP3nP2zjLVgmiAYhSakPlFoBTYhfN1 T2f8fvBrx0BZLxQM3mbP8qyC2mJjMiszFbOIdgtVrPu+5som5cvsw8qgeZP1NkBbK3VQ 85Sq+O5D9agUN9sCMGzXhVF1V3H98vIcoGJBIJzUhVtT2B7qrI61zunsQxX0vapzxD7w +TSuPk7sr8oQT0AUjo2wxj6MAB5rx3jI6QqV4p+hbXXXPb/dzmdtHxrNpmK3Cyf4n9pA Yrvw== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=ZGBPW54L0QEoqfe+sM62CkEmBeY4UKa+d/upzOJfO9E=; b=z4zXGpXKmel2MXEMBf1W5ZElkRjicF+QIbtVGFem2EoF+5UiP8NuaO65FXxIbS1DW0 MWaJM5IVMtrUOVJqro2rqvXO9pwIYewoRHDuxUhs7Jmn2om4qXMnIjdVAQHruCBqM1oj +hEA+88RBymtbdsWTYUJudiTq/ATPyMBA/TObzM7g+jB+4Dg91eKsGy1obGHV3G2sRbZ p8XYwRqc0prOZAFMll7L+rDCqqZQF1LCrbocMTVEW/2ITiDGDirsIM6jTQSRf5w3bwkd pr+SgEQY92E8I3Zba0cV8armjCJZEG5spl8DrYjc3GQCtMeIqsFwkv5Ltf02ASQJwunQ d+mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ntgFwlr5; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t9-v6si9769310plo.592.2018.05.02.01.52.59; Wed, 02 May 2018 01:53:13 -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=@kernel.org header.s=default header.b=ntgFwlr5; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751115AbeEBIwl (ORCPT + 99 others); Wed, 2 May 2018 04:52:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:43154 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750849AbeEBIwi (ORCPT ); Wed, 2 May 2018 04:52:38 -0400 Received: from dragon (unknown [104.237.91.241]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 48A3C23762; Wed, 2 May 2018 08:52:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1525251157; bh=vbsVZ4bFw8dVKTf0BhW9/X6KsYV52uZNglfMvCLkPj0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ntgFwlr57VPMxLT4HfFYtEfLxgmPUvMuUJ8bkN5w+YdhP9E3/S/6Am3JanJ2YUL7u PyjUSCnGjwuOm9+3SNLDtBZToH+R/PS6WY5xlOZUaSOGLi8cf+rsZQ0zCU07s/7d6o 8WxAH+EPU1pCv0BoK4XN0RhrIvqEOeTIwQIlyk2w= Date: Wed, 2 May 2018 16:52:22 +0800 From: Shawn Guo To: Wolfram Sang Cc: linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, kernel-janitors@vger.kernel.org, Zhang Rui , Eduardo Valentin , Heiko Stuebner , Jun Nie , Baoyou Xie , linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH 50/61] thermal: simplify getting .drvdata Message-ID: <20180502085221.GH3443@dragon> References: <20180419140641.27926-1-wsa+renesas@sang-engineering.com> <20180419140641.27926-51-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180419140641.27926-51-wsa+renesas@sang-engineering.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 19, 2018 at 04:06:20PM +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/thermal/rockchip_thermal.c | 8 +++----- > drivers/thermal/spear_thermal.c | 8 +++----- > drivers/thermal/zx2967_thermal.c | 6 ++---- > 3 files changed, 8 insertions(+), 14 deletions(-) For zx2967_thermal, Acked-by: Shawn Guo