Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2045841pxb; Fri, 29 Jan 2021 11:32:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJx5eIeFVZifaWl3D2BS1jkT6BOWDJT//N1tM9q/ZpRzuBy6FJBQ2ZKVht8zcMQ2LbySd9r5 X-Received: by 2002:a50:eb81:: with SMTP id y1mr6815031edr.176.1611948725194; Fri, 29 Jan 2021 11:32:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611948725; cv=none; d=google.com; s=arc-20160816; b=vvSdg65qKJeyukPhbZhxTjW/VP8K00Ippl2gPbqhXbzNFmIQTj3ecSGG7020q1f6ty jvnapLRJlND0nLljFug0v9a12Du2vgU+WbDv5ovIscz0ITO4RicdQf1Ma5Fdifz3mxbJ of1IbJ5FWs76ETtnM8AWoTxCjDMrJq6B3zZJEFmIPn/DKw79PmHC2bnmTTVzUTBV4ah/ sOHh2NM7GKxni2ORKvinU4/eHXbnEFgooU4gzJlnyzGVdpvxmQpx+EX7I1tX+0bAGURg DGT4jF1Zeb/CJhYA5zaND02WKC96JY/VsS7RivrasakcdC1QLXyLb0LbED+UGY/vOW6c HuTA== 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=UjhJghrGgpUX6ofkrBwmlMJLN5v1Oy8CjHABFU1Zyz0=; b=c3I3N6EGRkrxwhXr8do0V9b99c4ULLk63yUzh4KyPY/1uk5VrcQyE0HI/92ROTcWqL uKNqJdSPCUFTQpuSIk1INm5ohTl0/oWraXXMmWw76t8aq/7MQZeXBf2GXGo4PfBbw6xC JMZnOBoDq8fREEq2e9/rnr19ES2NU59wLq0tB/gJ59hK3KcGixOyjS4CpAuQglqgSPBF LKMgDPU3EZNrY1ydlXC6jNMXHYEftU/m8fGtS9k4GdNpg1k4MWCE5vul9LEWIeMSkiU/ ggfLW2Ty51Yf1+E+Z1wstysiy9IN6vQVi3AX0jrfNhmCpy3lKDkUBpPFehlCzWFMH/Ie shmQ== 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 y6si6617745edp.196.2021.01.29.11.31.40; Fri, 29 Jan 2021 11:32:05 -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 S233068AbhA2T2q (ORCPT + 99 others); Fri, 29 Jan 2021 14:28:46 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:50879 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232630AbhA2T2i (ORCPT ); Fri, 29 Jan 2021 14:28:38 -0500 Received: from envy.fritz.box ([87.123.100.109]) by mrelayeu.kundenserver.de (mreue108 [213.165.67.113]) with ESMTPSA (Nemesis) id 1MpDVx-1llE9z1jw7-00qi4J; Fri, 29 Jan 2021 20:25:56 +0100 From: mail@richard-neumann.de 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 v2 0/2] i2c: i2c-amd-mp2: Clean up driver Date: Fri, 29 Jan 2021 20:25:51 +0100 Message-Id: <20210129192553.55906-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:QV1wb189yYBNMQ2EyN0xXBM5UzM+IdWTE5KlBkIRhnAi1vEYNqx M0D/EKEaVL+Fv3S5V58VUiOum5iuOf54RZcr3Wqb6gbDCFS09nTiajdGNxWhuXnd6qrHR32 Rcdw95+4qt5EF/y+NM06wXuonDzDXKV6z2GOvLMgRdhOFrdTNziunKQFo0vDjFIsYkr0A1P svShz6AxxNRumA8VQ3Lhg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:kCGMQwuokuU=:qmjTKxOIHrrLWbXmoT2hrV ZEyjEz01OlbsZVp++RqduUFUEW8qqEslbOzRW33pyLEYpx01+rkrvwPi8LyIa5twoP7Z5LMr/ GXU5Yoakr/geK5X9DkPej7fIZO5xVytLUEeaDs2GiPa261MfBxIc37TXjDu/J6qwSDCD9GD8C xu43MD2JOoVTVq6RqiwO5UnLIsS/9iCOcQNQ1S/+lXi+ZV7pysMHafjz5tecJJbXdtKDRFzYb xWKyUj95TBiLMrhGG7C/WgC80+zfdlzovGYGSCL+ElxHYidbaV/dDgPLyHSnOsdfIo3gmS1KQ Ky93Vho/DKnjTzbBehWWWLi0asSWV92ZhKYPFQwN2zbWZAyG6jX94CiVSYl7iZ+3Iy77C0wS0 uMlgg/uZXe7eyij7QVX/bc/tqKfGavOZHSe5zd7tQ2yUYKhSP26Y87J/4tSB/grruqJ9d7Qns 97HQxiEsyg== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Richard Neumann 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. 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 | 53 +++++++++++++-------------- drivers/i2c/busses/i2c-amd-mp2-plat.c | 3 +- drivers/i2c/busses/i2c-amd-mp2.h | 6 --- 3 files changed, 27 insertions(+), 35 deletions(-) -- 2.30.0