Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1683878ima; Sun, 21 Oct 2018 18:18:00 -0700 (PDT) X-Google-Smtp-Source: ACcGV61FsZN48T6KczPMGjdz1if+MbVcawoPRUvi46Y/ZxS0Z+vJveMFK0jAvZKGzQaVWW7z2rAY X-Received: by 2002:a62:37c1:: with SMTP id e184-v6mr44311421pfa.112.1540171080306; Sun, 21 Oct 2018 18:18:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540171080; cv=none; d=google.com; s=arc-20160816; b=NBXHZeSYgOjHkmiEuzwHM5dwc+DMCp9phklgJ1IJiqF+8ooNi8npRRSk0AC2dTOzHX rPxnZ6nD21EoiBvPV7Jq0d0c37fnDXpj0KhHNBMZWds42IFPJU+CbiZgDUB2P1NlruxZ zZh7A7TCaHUBzX77ESaceT89HIz+L7po4lkJJnPE88al/LpntlSqGhwDBxhL3Pyl3xqi s5nhhQkOfpX5zYjpVw+VWg0Rd9QzGF0tVmlLOslUMfopYQSj9dQAmeSK3Rfzcd3UsDcb cvbPTnqP0d64LavEOdTo2t6pia+l0JXKfUe+omE2M2hdH+fFttlB36RuD8XBf/SGPsSe kCng== 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; bh=MUX1EjQGzBIbiczUfPNCN6hUkjvhLpPr4LP3aOz+hRY=; b=Tb2Gsr4EfKK0MDpdALltpw1sK8ViJJLRDq2h5CBg6cAjrTHyjk3h+bK3ahMshQHWBq IoXJlORBnA4PSsf1yYoKU8XVOP3G+kXj2gsT0UsWylTgCVzjZH2HJxYWmZLet5z9vkTr RE/vhl5Txg4TCBWGJ8VI54J2q8KFtMKCJBlZdNz/bP/Ud/gnhgk1F+9cyYjYqYgBHKbY IIJZFr32TgrAV3GBgguhcO20Pt7BvO8TxwZ5EriVWWOb/u2thauxXL4RBEiFRoBzMrIH e8/Kf2eJUj+PvXosffNfp+VstGv32n+fU4JeDj1zMq6H/w87wSljErd6e7VnhxH/H3Ew R/Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FzTvFw9+; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t26-v6si16578315pgl.273.2018.10.21.18.17.10; Sun, 21 Oct 2018 18:18:00 -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=FzTvFw9+; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726851AbeJVJ2k (ORCPT + 99 others); Mon, 22 Oct 2018 05:28:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:51968 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725723AbeJVJ2k (ORCPT ); Mon, 22 Oct 2018 05:28:40 -0400 Received: from tiger (61-216-91-114.HINET-IP.hinet.net [61.216.91.114]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 31FC82083E; Mon, 22 Oct 2018 01:12:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540170742; bh=Wzx181HzwZNznNZZ5g863Cye5ytWBlK/UdVQJdkeOc8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FzTvFw9+UhMXS6TL3oEgnBPZG7ljNS1W5xrNto6UlE3W9FlFUVmslcO4unliicxOz mnRsULv40vnFhTmexpz0x1uExlh6+tIpe3iWNZ093axPruaDRr/838m+JEeC2S125r A+zZ3J2n9O6oCikO7F1swQWf8vMlf33sHkHg7WZ8= Date: Mon, 22 Oct 2018 09:12:05 +0800 From: Shawn Guo To: Wolfram Sang Cc: linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Jun Nie , Zhang Rui , Eduardo Valentin , Daniel Lezcano , linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org Subject: Re: [PATCH 5/5] thermal: zx2967_thermal: simplify getting .driver_data Message-ID: <20181022011203.GA13039@tiger> References: <20181021200053.2194-1-wsa+renesas@sang-engineering.com> <20181021200053.2194-6-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181021200053.2194-6-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 Sun, Oct 21, 2018 at 10:00:52PM +0200, Wolfram Sang wrote: > We should get 'driver_data' from 'struct device' directly. Going via > platform_device is an unneeded step back and forth. > > Signed-off-by: Wolfram Sang Acked-by: Shawn Guo