From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58F2BC004D3 for ; Mon, 22 Oct 2018 18:30:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 47AFB20652 for ; Mon, 22 Oct 2018 18:30:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="bjtZVGDa" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 47AFB20652 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728994AbeJWCtx (ORCPT ); Mon, 22 Oct 2018 22:49:53 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:35462 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727218AbeJWCtx (ORCPT ); Mon, 22 Oct 2018 22:49:53 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id w9MIU76L027341; Mon, 22 Oct 2018 13:30:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1540233007; bh=pojReZLvJ3gxqvxTn/4AFxukLmFSEZI6akktJJ4TNGk=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=bjtZVGDa4ZRYV69K5lJIuyjTULYwirPplac+Nz/VDe8ewKdBVpv2M5D/YXypJrO/i cONShcoKxpNwd0RXlipwEG/nHv0G8XtJb7ZhFDGb+3DaRd0MdvVYr8oCRE8oY+ALOz WbOcPcT+udO6HFpo9AcpGf4l/03VMQ3wwdK6fsv0= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9MIU732000501; Mon, 22 Oct 2018 13:30:07 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 22 Oct 2018 13:30:06 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 22 Oct 2018 13:30:06 -0500 Received: from [128.247.59.147] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9MIU6T0027099; Mon, 22 Oct 2018 13:30:06 -0500 Subject: Re: [PATCH 4/6] gpio: gpio-omap: simplify getting .driver_data To: Wolfram Sang , CC: , Santosh Shilimkar , Kevin Hilman , Linus Walleij , , References: <20181021200002.1472-1-wsa+renesas@sang-engineering.com> <20181021200002.1472-5-wsa+renesas@sang-engineering.com> From: Grygorii Strashko Message-ID: <99558402-4dbb-f111-3e25-eb42c3944179@ti.com> Date: Mon, 22 Oct 2018 13:30:06 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181021200002.1472-5-wsa+renesas@sang-engineering.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/21/18 2:59 PM, 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 > --- > > Build tested only. buildbot is happy. Thank you Acked-by: Grygorii Strashko -- regards, -grygorii