Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4005104pxb; Mon, 1 Feb 2021 09:56:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJxPzWqqlvW4AKKuHECC703RDBDfyFF+7n00zyMRt1iUFRIzPmtpRbCKLRHWRCAnPB49IirN X-Received: by 2002:a05:6402:524f:: with SMTP id t15mr19957618edd.158.1612202170794; Mon, 01 Feb 2021 09:56:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612202170; cv=none; d=google.com; s=arc-20160816; b=dWGkvWpJmy/T60xvyAM4yAc/R4Ymtu4dsPHALC9pc6a7J90LlNvYiIEhTVNfyIPGsN NpLCrIcLWRLoxBhjACnGRIYXHwL6StK6pyohYTuTt2CnTlJnQ794/NWe/MeVGAOfpU4m UMxVjuELCTujpwbwgelFq249s53xxip8fUXgNlzRox+9+HfhdrGKhnfhcfBfYnlxlnR4 CMVBeJhLq/KjIDVVcec9DVLGIjxHmED4raLMlWynArkuY3Xg8zGn0sC0QXTGtM/0JXo6 rrGaQjEiNjNY8luTucZFrm40ZgeWJ8C9hCjqxwD0YbSPo8tmzr0YxNmeormpOLS+7HhN fCZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from; bh=w59TPnvY+vTFFkS+3w/UCJ28X+bZsGfjA4nCQKDMt1E=; b=kiEUV2ZyDeablsfaPYfR3OskB8S1r+VnQspOvXA2P88JAy3EeH//JlUonPHP/83vKU ZtY3S431EYLql1QC1i6/LPlCiICp4NsBYTNecBTWbhXqJiPxDo3HUdcmwAW96Bk1ozkc YE/YW6bmo8rv0YNZmp0xsHyDZMlXfmwacrqyeRtXX0UpL3BM35VQ5saHxZsRaHPWxdER XVTzVdLIRJmN9IwcIscSCyeV+Yg9hLljiGHssoAfA/kaZYk1ZIWp7orm/1HiXCqPflFt DU7RlN03q7vnt7PKxiPyFPjTRC+0cJbDO+p+w8c1Cl6NQ/kg5pC3W8eSiFLg0/CWvedZ xUHQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gw2si11299489ejb.264.2021.02.01.09.55.45; Mon, 01 Feb 2021 09:56:10 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232194AbhBARyW (ORCPT + 99 others); Mon, 1 Feb 2021 12:54:22 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:47681 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229607AbhBARyU (ORCPT ); Mon, 1 Feb 2021 12:54:20 -0500 Received: from envy.fritz.box ([87.123.101.73]) by mrelayeu.kundenserver.de (mreue012 [213.165.67.97]) with ESMTPSA (Nemesis) id 1N8VkX-1m2G5M1AaP-014S4G; Mon, 01 Feb 2021 18:51:41 +0100 From: Richard Neumann To: syniurge@gmail.com, nehal-bakulchandra.shah@amd.com, shyam-sundar.s-k@amd.com, mail@richard-neumann.de, andriy.shevchenko@linux.intel.com, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/2] i2c: i2c-amd-mp2: Clean up driver Date: Mon, 1 Feb 2021 18:51:36 +0100 Message-Id: <20210201175138.8986-1-mail@richard-neumann.de> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:J1gDmxjtCLTJUJeJgLh2zegx2U2FMGvlTC8V7JvzRo5ue9aKnRz hmRdh/awBuxCH0RnnJQbIqGwxqEr9j8a1lUPltoNxA5GPhtIHGNVkaTf+695/nzNHhZ7l7j ZT55lk7VwBI0rBH97dJsAG1vwn6EJH07gbEhWHsGAgJ5mfxsc2DDUE8Uvph+rse0IK/jWCk r1E7aBmAoPhilQqxx1Zhg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:hdctGeT7eVc=:JvEZ5K12gGpLe+Dtv3ZSB+ 1t6uEYdfyF6q+ZW2CxPJ+EbRBO2Cc5kaQ6CmKWCr05M619e4wGtCG0fVMKejjgwNfgs56m7BM 9fIGqM1Qe23DvBUZegA03fX+1K2d4U+7ovGS591+CMN75uxfq4SkS2VSQ8bmCNa3DXPp3cL74 LqvMuMzkx3QbSsS9FXIVujytCUVuzX4eaLRha2L63h89ue6jkSrdRX3gDAz8AWZsA19WkcFr7 /3dd6cyyaAsumky+M/1omlniLwoGkh7Kc9Odikj4bcUCYannJfACKRnIjPNFu2K514SF+XEdx v84yrngw2PvdhDsmmPcndCw12GtfD3E86hDsVFaFQZ/cI4YD8PPh8OwXhK0cxRM5IRA0pmt5a jrlAT9Fpu/7Qu0l6AVx9wEQwIv8GssHCFYDXApmSMug8vaPoK4rNTNuWOFS5rNZMRrsoOAdDJ LJqcVfPyCg== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Clean up i2c-amd-mp2-{pci,plat} drivers: * Use pci_* logging functions provided by the kernel's PCI API. * Remove unused macros. * Remove useless __func__ from logging. Changes since v1: * Remove useless __func__ from logging. * Assign pci_dev to local variable where applicable. Changes since v2: * Remove duplicate local pointer to pci_dev. Richard Neumann (2): i2c: i2c-amd-mp2: Remove NIH logging functions i2c: i2c-amd-mp2: Remove unused macro drivers/i2c/busses/i2c-amd-mp2-pci.c | 55 +++++++++++---------------- drivers/i2c/busses/i2c-amd-mp2-plat.c | 3 +- drivers/i2c/busses/i2c-amd-mp2.h | 6 --- 3 files changed, 24 insertions(+), 40 deletions(-) -- 2.30.0