Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp430048ybl; Fri, 23 Aug 2019 03:05:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqyCFvhXHv+e6fJ1ZHeM9cRJ7bJlR0y17owhhSzM2Sf3E6SjpyUcLWLEAFfxT/hKmJ6nE37x X-Received: by 2002:a63:61cf:: with SMTP id v198mr3199599pgb.217.1566554741820; Fri, 23 Aug 2019 03:05:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566554741; cv=none; d=google.com; s=arc-20160816; b=CHsFlzuAxiXe47NS+Ht+F1eDq1SZEGxUu91xc5zrtPM9aKad+5oSz/RQZdDOI4k/gb GO7xO4lPhui2DwPHmoFlBzCDWGxtHJCVnAUk+UAt2r6ejuQDPafi4VGiqHyJfm/QOiJy FeHq3TFJUCz/LDtbzM2j9qXisADwejMFt7TDNVZ254gqh5EnIWKJSxB/hne/+NFZUP11 BVTE8Eita+JH7PQB7T1y+vwI9HRsl/VIZ4I0KHGQ5i3f7arXGyY7/2PtJgzeanczNlMl 67Tl+s+Tjrs/Z8T8d77fbURLzlRwTOE3hC9bIr1+JHWzBxMw+NtfLRpBZank4vEslYYM yJgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=PHgzB7LXrFsDHZMpQ3e7AmMOPq1F2h1b1Flup3dGb5k=; b=xnBvEHcM4ipDoyyEZKkPxmn+uy8L7A48oCeCP8f0X+0Rp5Yg7MvsVPOd9OcZUh9dQB KAGBijf8JdjIrKGkKy72DwfFFQJEVURicqFy4PUd0jysE2aU/3eYuh8eRPk/QRN5BC5t Q6COQh8L95oDb034NZ+T6GqfiVGhLyhfaS9MohcUPQ0Nupl/SFpMvbdDUj4HD1DCCYfu gQQxXUqGodh7lOG0gCQmWp/s37aDkKLXT/OUR/9vUFSf2hSs+rS7DSL/qBNoFWdeXNqH wzYoI7Ps5KsaX1LIxSMhhO11EzPI3ejHgx6eC8hq6qp97LfTTxTSYJUwmwjKH6nLgGdd wsoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=nmVf6U+Y; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 126si1592718pgb.47.2019.08.23.03.05.25; Fri, 23 Aug 2019 03:05:41 -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=fail header.i=@gmail.com header.s=20161025 header.b=nmVf6U+Y; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404424AbfHWGaS (ORCPT + 99 others); Fri, 23 Aug 2019 02:30:18 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:38389 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404394AbfHWGaR (ORCPT ); Fri, 23 Aug 2019 02:30:17 -0400 Received: by mail-pl1-f194.google.com with SMTP id w11so4523510plp.5 for ; Thu, 22 Aug 2019 23:30:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PHgzB7LXrFsDHZMpQ3e7AmMOPq1F2h1b1Flup3dGb5k=; b=nmVf6U+Yw+OIUaxMQF9WI05AI4EhxwHVlvr9jNM9Mzf4LtCySIgvRnABT0drXl/Kis l/wu4O3seA8e2RjFyD55Ap6vvdgyjod1M+SkK9OdEvqHDNEUptuvtJf6uFhvOefo55+R Km9j2WA4OKdaIs5EYafyWLbr5V6BWczzcQDPT3XRVLeyNV1f89PkF0RKG/DSb0iuVvuo iOl2JqlK6yCs+pJHPX7yxVhztxpoWikKPOygzOJCL9uy3aex32hj/v1wKebi/+GIFQzc XV1SghbYCKRCBiN+//pCHXI/EJkBbY+8kI2U1fufbtIr5VM0cksWsDaa9tzzrKYMzmO0 qIIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PHgzB7LXrFsDHZMpQ3e7AmMOPq1F2h1b1Flup3dGb5k=; b=iPtC0JnSTXkuh1zf9LUbgJrr+BqxkiqYzQue5iCyzh7hwOeWxVsCEnAXJHhDdbhlHU TKbTRbjPWefYG5qHfkC/+AGnZHIWZgBv6bBa4T1NiqH7p6spI9g+PyzYTMB3ACiBsTIb ehdLfU2u0uCxoJUL6ucFfYsIZ4PE+3+DMJWjjHRuuPLyrIE5Y51r28BM4pajsK//zN3P b7Ua8zD0FAm+Pmuoo+46/oNqv1/nvEYRuXNiYlXxc8b/z2dofgd85xN/Q+IjqX1N30KB kb3Avo3GKbqOl9ukNQX50J7x+TMo+m1yNlPyb74konJSPPBeZzCD4ueaJjKnrTTT5OPg 8PGg== X-Gm-Message-State: APjAAAXWjHC2l5/JzwxirKdH2MyYwFGj3BYxFF3KUK5I65+1b21zeXTD +72tK8a6PbwbXFOnYRsYS6U= X-Received: by 2002:a17:902:2f43:: with SMTP id s61mr2885601plb.22.1566541816984; Thu, 22 Aug 2019 23:30:16 -0700 (PDT) Received: from FINLAND.cbr.squiz.net.au (220-245-33-70.static.tpgi.com.au. [220.245.33.70]) by smtp.gmail.com with ESMTPSA id o1sm1195408pjp.0.2019.08.22.23.30.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Aug 2019 23:30:16 -0700 (PDT) From: Adam Zerella Cc: Adam Zerella , Dominik Brodowski , Greg Kroah-Hartman , Thomas Gleixner , linux-kernel@vger.kernel.org Subject: [PATCH] pcmcia/i82092: Refactored dprintk macro for pr_debug(). Date: Fri, 23 Aug 2019 16:29:49 +1000 Message-Id: <20190823062951.1168-1-adam.zerella@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As pointed out in https://kernelnewbies.org/KernelJanitors/Todo this patch replaces the outdated macro of DPRINTK for pr_debug() To: Dominik Brodowski To: Thomas Gleixner To: Greg Kroah-Hartman To: Adam Zerella To: linux-kernel@vger.kernel.org Signed-off-by: Adam Zerella --- drivers/pcmcia/i82092.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pcmcia/i82092.c b/drivers/pcmcia/i82092.c index ec54a2aa5cb8..e1929520c20e 100644 --- a/drivers/pcmcia/i82092.c +++ b/drivers/pcmcia/i82092.c @@ -117,9 +117,9 @@ static int i82092aa_pci_probe(struct pci_dev *dev, const struct pci_device_id *i if (card_present(i)) { sockets[i].card_state = 3; - dprintk(KERN_DEBUG "i82092aa: slot %i is occupied\n",i); + pr_debug("i82092aa: slot %i is occupied\n", i); } else { - dprintk(KERN_DEBUG "i82092aa: slot %i is vacant\n",i); + pr_debug("i82092aa: slot %i is vacant\n", i); } } @@ -128,7 +128,7 @@ static int i82092aa_pci_probe(struct pci_dev *dev, const struct pci_device_id *i pci_write_config_byte(dev, 0x50, configbyte); /* PCI Interrupt Routing Register */ /* Register the interrupt handler */ - dprintk(KERN_DEBUG "Requesting interrupt %i \n",dev->irq); + pr_debug("Requesting interrupt %i\n", dev->irq); if ((ret = request_irq(dev->irq, i82092aa_interrupt, IRQF_SHARED, "i82092aa", i82092aa_interrupt))) { printk(KERN_ERR "i82092aa: Failed to register IRQ %d, aborting\n", dev->irq); goto err_out_free_res; -- 2.20.1