Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1246799pxb; Fri, 21 Jan 2022 13:16:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9FJJ0Ei4M5N/g58Vz7MczppBfj22wyYxyJ1Fg9j5S+dT1GGDC6DOV62Ga3Q6Pza4i1uT6 X-Received: by 2002:a17:902:f68a:b0:14a:5f49:fada with SMTP id l10-20020a170902f68a00b0014a5f49fadamr5735809plg.106.1642799785800; Fri, 21 Jan 2022 13:16:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1642799785; cv=pass; d=google.com; s=arc-20160816; b=0idlqv2QTqFM/oELlk99Eekt8H9NvR7uwvKW7+E0qmK2K6HwlPHwmW1Mr1oMCM6GPl +q+5uPY8GTWI3aZiMijbUomEA4kNdM9BzdWxb3sa/+ap82rHMOBSKh3V1VbCafYUCcd5 pLnQKEyCSXsLjGoPrvmeoU1wwpzvF/QxGvbsdtIjd6d4X6PkQLr84oLcdXju88WU2QMQ j0uvyFzgcD0YiiEx5be03fQC7FFHl+82pYot5w4vklU7OGvYpdJJFvj1Xi9hxy+edPcT mq61GNQouaRw1a1jIO0zzfBoeZFlmSVwE1+s50fnylJI+J/XhVTDlbT4/jZm2RnG3avJ zAaA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=2TgWe7TBvPwQzhljkwSBWMCpRRjB33IzTFrxx0cbrhs=; b=Bk5eag9Spc9dTsSD6NGnbgX4n5BV0K4IWbqkF0V1nIIAgxEOzmLzBgnDxwzXsLCZkK RutKimOicEXV0PfAZa9R5uNbqYKJl03z1LYj1J43yiC/RDdLXYDNHzreEQ7aCSpudLOw NSW0HbCxDTbYeGKkCCzPwdrZ1PAI6inlk7fLtZbz/TxJ2qnaXMs9ia2bVtVD8pDYmaJB +MkSUfLXdAKncwDmu+9uFq+KXU4nqCt95ifzatwQxrc/k3SzbLyS+fyAJDxe1IWw9o7r iRWIb2FpH7zlSZ5SdU4OmhB9v+EacmSjn/OrdMQ/IIKBuG7e5nrt3Lobjt9k7nNsyJG/ A3CQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=H0KaYeND; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e128si7391174pgc.763.2022.01.21.13.16.13; Fri, 21 Jan 2022 13:16:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=H0KaYeND; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359865AbiATK3O (ORCPT + 99 others); Thu, 20 Jan 2022 05:29:14 -0500 Received: from mail-bn8nam12on2059.outbound.protection.outlook.com ([40.107.237.59]:31392 "EHLO NAM12-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S242171AbiATK3N (ORCPT ); Thu, 20 Jan 2022 05:29:13 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jBXYIbqJ+jqGd/qsHA9caNb01RmwloiIZQVdJogrdqUtrjMQvCQV2IILn7yBDGg+Q7EmSFCouHLxPLi9ffdYcDVvGOxWmMeBhyvyWRB2XqK1i9LsY6ViOdLE5RysgkcLTrD+KE9ARRjghA6vgCtB2oewQjbs/MAiFSOB9VHvfnEPSbYGLpE0zHxnHPYUs00gEh7RSi1UqSyvCG1HtKgOpdQADLj8bw6tot1pefPRp+c9pNpMYeaJiCcmxXKQw4eJ52Z1bLXPnc1NtCo7BZ4NqLUecJJuf03Y+iVWcuE7vqS7kGBbMIcvSowSfSohb0ICEZopkOekORmlP7e7/fFqtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2TgWe7TBvPwQzhljkwSBWMCpRRjB33IzTFrxx0cbrhs=; b=PPl4E5JtG8Lk3Tnu1HA2jvtXIMR1unK4/yIhm4ddE0S882lo2lD1+A/BttIUaLbUzfh5rR7IgJ0TKuj18bQtipkfeCpB5/9aYcfiXGjXxAMYq1Yo8zuctC1kuJz3C2AMwKf8jtOjaSaUMy/nPf9KPegFEZ9oIlyqQQVqFe0xgrFxh6I0RTkVtPlYFrrZPVfx70b08Cw97PSoWrDj4RfeXLT39W6r0PxQQwsJTUoJInkk3fvw0trdL1ExRcVxSW/s7DNDRFfhysn7RX0l9e3xv20AdVpSen5URKA8N8qaGHsPRq5BGZPhhC7QA9JlfmVSw3EAcu+dd8ossaOEAvr/4w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2TgWe7TBvPwQzhljkwSBWMCpRRjB33IzTFrxx0cbrhs=; b=H0KaYeNDZsqUZpJihhqj0Vdw/URVJNF4uITbF/k8VNB+SHcw4jtbaACOuFya+CsBw+Kd7XPbBarNm11PI5+Fd1tOaqxGrfrgOyPVpZBgD7tHV1PXXE3r4xaxHs9Txx5cNBwGN+jfwhN4xlfBUU6zwAvDqmJY40BkgRJERxOPxReVURIx1GbURDNnevvIiaiGcfJvL9jHL+mIaO0oa1PTMAksn9V9hff/nTv7Il3hMGxAIzRxtmO8bJ79HgxnN6x3RXhQGsdD3VS1Yhxqp1taGnHn6Qu0iTmrwlZbqXKOM8obOptZPJrNmlt2MPuLObVuKfeaJF8vuDBH3Mm+VW/csw== Received: from DM5PR12MB1850.namprd12.prod.outlook.com (2603:10b6:3:108::23) by BYAPR12MB4725.namprd12.prod.outlook.com (2603:10b6:a03:a2::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.11; Thu, 20 Jan 2022 10:29:10 +0000 Received: from DM5PR12MB1850.namprd12.prod.outlook.com ([fe80::880d:1407:db31:5851]) by DM5PR12MB1850.namprd12.prod.outlook.com ([fe80::880d:1407:db31:5851%11]) with mapi id 15.20.4888.014; Thu, 20 Jan 2022 10:29:10 +0000 From: Akhil R To: Andy Shevchenko CC: Christian Koenig , Dmitry Osipenko , Greg Kroah-Hartman , Jonathan Hunter , Laxman Dewangan , linux-i2c , Linux Kernel Mailing List , linux-tegra , "Rafael J. Wysocki" , Sumit Semwal , Thierry Reding , Wolfram Sang , Len Brown , ACPI Devel Maling List Subject: RE: [PATCH v2 3/3] i2c: smbus: Use device_*() functions instead of of_*() Thread-Topic: [PATCH v2 3/3] i2c: smbus: Use device_*() functions instead of of_*() Thread-Index: AQHYB77a/fG7hzWmEkq6PyblO45xR6xfhiQAgAwmIICAABDWAIAAAWvw Date: Thu, 20 Jan 2022 10:29:10 +0000 Message-ID: References: <1641996862-26960-1-git-send-email-akhilrajeev@nvidia.com> <1641996862-26960-4-git-send-email-akhilrajeev@nvidia.com> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e5e6e557-41a0-42aa-b0e9-08d9dbffb237 x-ms-traffictypediagnostic: BYAPR12MB4725:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tygfOUeOY0iLmcUsD6x69VEDKJ697C8bH3cbzvn4IBBVE3lXz9KGUxwa/OceR+kRso9L4oaInwurFAAO+M+Z9uiy7q9UjGhfZlwi4sS/xoIzTBh8vLCH8FuMSjkOqEqZJLLPQQaBuBZdUO7l2eRecbsQXf58xGQpgr4Nbbss8qBRbGfW2TLK6UW1UCSDxD2erWxf1GXqQeKE/bZAjvHWJVrvKpa1WOM4tv6JcTBpt+4wJp2kuf1yRnqlKsgGg/72Z3NL5jK7TeIiDjJjY48ny9XxY6uZr3Bmy3duEyWtlGRuIKPzhQV7o7ySwCEdmEml6FSnLkEYxnzKUpbVY/rT2brA0BFTYUsYQhMurrKN4LaWP+u+wBSbHrPbGeob1s1LT0v01y80GdXUOVN9QSxz2HIS064lFMeD4H0HNsDnOzXRfCxOVVhnKbq8w4YofrUyJi0Q8785v46kW//pKLU70PAP5cHzjCATuTRQu7Tr68Fd+DnuDB+aTkAn2Oz18LXQ1XBWITPOyYGk7FkVTwo+BYVTPw5JGcXDHguSNWvfxNqdcq+MaWpWrHTzPq9V6ZVrxSqZC1GACpdmJ0eWM5jLKk9M1y2SFpZ4wCJJoftRSmMCGnRVkZalQzI06Nr2hqvc5ytx8FHgAldGbiqyoeQ09D4Qmv4Z2zGAokCwFbMp7NGnaSS7shPlKD8v7oHcnjfrXOEWlFxrt8AUdY7Ydh2WjA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR12MB1850.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(26005)(66476007)(76116006)(55016003)(66556008)(66946007)(508600001)(7416002)(38100700002)(64756008)(5660300002)(4326008)(316002)(33656002)(86362001)(54906003)(9686003)(83380400001)(71200400001)(8936002)(122000001)(38070700005)(6506007)(186003)(7696005)(6916009)(66446008)(8676002)(52536014)(2906002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?bFByNXVNTlB4V0ltL2loNjBOTkhhajZmeCtGd21NSUtBb0h3SlRJRU1JajBH?= =?utf-8?B?YUd1YXIzSkowc0FqS3B5VGVQVWQrSHArSk15U1MvQ2NDODdaNmJna255cnBq?= =?utf-8?B?Y3JsRlpuNU95ZnVPRndzSjlGQ1dCczU3K1haNURNSlZqZndxSE5MYXpqWlQ4?= =?utf-8?B?U29Fem15Z1lHbmZPczdOZ1dDK3FrOXBqNDZqZTF5cm5LclZLNUt0cG1mRERP?= =?utf-8?B?SHlpM1FoNXI0cmZzVlpkSVhhc0ozR0d2ZDR4ZCtGWHVIWGlWM1Q1UzdodElh?= =?utf-8?B?K25zcFRCVGhGZjg5dkw4dFpjS0dLRzFNWHlQQUQ1WVNIL3dsbzdxa09icjB2?= =?utf-8?B?dDJVTU93bkJZbTk2QWY1amlFWlNKNkNVTDFFRElXdWgyK1ZUR01OcjZWQnJZ?= =?utf-8?B?dytqeWdaSTdvTE03SlNBRUtOaVBQM2NpMDl1aGpEaHFGYTJDNkJialR2WEp6?= =?utf-8?B?NDdJMDVNMmxBMjljamJTdzJlUTRGNlp2NzdBdlY5RWQwbWpvOEQvTkNIWUpX?= =?utf-8?B?bXJxQ3IrNGlHWTArUDlkR2plclcrODB5K3FDSEhYZmZvYjdpWWVPR2tqcTQr?= =?utf-8?B?K0FsWHd0RXJDUGI4Szh3SUxrLy9TTm9GakVvc0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UzhvSHhyeVdWUVh4WU8yYjdkNU9W?= =?utf-8?B?QlZLbktnNlVyRmxGK2hxUENWTCsxS0FNOU0wK2UxOHZ1Q0s2TjhLOXBEVVhz?= =?utf-8?B?ZU5TMk5sQW90SmVCV2s4NDFwQUFlN0cvQjRCM0p1SzRDV0FGL3JhRnVCUFFH?= =?utf-8?B?UFJNVWpRZkxrVWFua3NHQUdaUmdQTVZhV0pZWllqT25rWVpHNGFJVk5DVXVM?= =?utf-8?B?cFJkV3pNZXhvR1N4c3Q5MEZjdCtWYTFEMTNEUy84S1BUZVVBSFpHaks3cHlY?= =?utf-8?B?a0NyMzg5N29oVGREZ1BSMlpRVnR1Zjd0L1dmUzloRlJobWR5ODI3MmRZeERl?= =?utf-8?B?WnBhNElJOUJKYVRQRitLMURJc0I0V3owRTJNWkg2QjIyQTE3WVQ2dndrRFA0?= =?utf-8?B?bDMxQkNYWjdMdzArYWtZRWlmaWVMZUg5Zy9sYkcrNmJ4L0t4c1ovTjd1aFFT?= =?utf-8?B?YWJid3A0WFU0QkJTSVlKcUQ2b1ZEMmFTaTAvd1h3OW14dk5GcXBwaUdyMlJM?= =?utf-8?B?eWptL2t1aStDTnUwb2luRzFNYWJpNVhtb0w1SWt2ODVKVHBzT2JidHlzUEh2?= =?utf-8?B?NWZYMGdSdmZiTXlPc1AvQXB6aHZJbHY0TDJYUkhqRVdFUUtPamR2Z0RRd0JG?= =?utf-8?Q?JMCmJSkgd9xMEsRZb44kKi8=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR12MB1850.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e5e6e557-41a0-42aa-b0e9-08d9dbffb237 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jan 2022 10:29:10.1836 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +8aq9yGaAH9X1DE5abT+HfGDNwNbR9fUJW1MGc5EAnSFhmlLn/f4IAaPUr7pmtfiiTuZwd1CuxmTIuOubhpezw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB4725 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiAuLi4NCj4gDQo+ID4gPiBUaGlzIGNoYW5nZSByZXZlYWxzIHBvdGVudGlhbCBpc3N1ZToNCj4g PiA+DQo+ID4gPiA+IC0gICAgICAgICAgICAgICBpcnEgPSBvZl9pcnFfZ2V0X2J5bmFtZShhZGFw dGVyLT5kZXYub2Zfbm9kZSwgInNtYnVzX2FsZXJ0Iik7DQo+ID4gPiA+ICsgICAgICAgICAgICAg ICBpcnEgPSBkZXZpY2VfaXJxX2dldF9ieW5hbWUoYWRhcHRlci0+ZGV2LnBhcmVudCwNCj4gInNt YnVzX2FsZXJ0Iik7DQo+ID4gPg0KPiA+ID4gPiAgICAgICAgICAgICAgICAgaWYgKGlycSA8PSAw KQ0KPiA+ID4NCj4gPiA+IEkgZ3Vlc3MgdGhpcyAnPSAwJyBwYXJ0IHNob3VsZCBiZSBmaXhlZCBm aXJzdC4NCj4gPg0KPiA+ICcwJyBpcyBhIGZhaWx1cmUgYXMgcGVyIHRoZSBkb2N1bWVudGF0aW9u IG9mIG9mX2lycV9nZXRfYnluYW1lKCkgYXMgd2VsbCBhcw0KPiA+IG9mX2lycV9nZXQoKS4gVGhl IGNhc2UgaXMgZGlmZmVyZW50IGZvciBhY3BpX2lycV9nZXQoKSwgYnV0IGl0IGlzIGhhbmRsZWQg aW4NCj4gPiBmd25vZGVfaXJxX2dldCgpLiBJZiBJIHVuZGVyc3Rvb2QgaXQgcmlnaHQsIGEgcmV0 dXJuIHZhbHVlIG9mICcw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