Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2634185ybl; Sat, 24 Aug 2019 22:46:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqwblwfhrhLEpJVIauTRA2rP0cNMDfuCTHJpVE4i8izGebqn6/+//KqWWDipcoDeB4rDOQl6 X-Received: by 2002:a17:90a:19c4:: with SMTP id 4mr13555751pjj.20.1566711997927; Sat, 24 Aug 2019 22:46:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566711997; cv=none; d=google.com; s=arc-20160816; b=FSUwcPwqnBHWsyB7AApTLBXrhXe+NKRDSCTYCzeaMBe8DZ3I4v2EOkhmxpsbW+ebFd XIo14S2dt8aC1ki9ZnuwfOFN/JgbRdudfi9YQSWVoD1w+SQdPfoSydpYUebm+VvkVlNn 0PF131EO5Ibx+G1Hxt3/lzJx64E1I/iO9X0N8kVS947qNTto0Ve8yQGjOCs3P1sdAOtQ QpIYTb9ilP5oAYf8xDy4BQWltNV9lfwXSvYfFC32/gSFRryXLFzn+tRXbq16sgStYu2G eRzUBBhT8yMClYOGl7dqJoDe8Y/8k/eLUUTQmGOuPI9/TlFHehua4yfkb8YSPYKXwXiN ZeKQ== 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 :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=oFfgVd1HrYudeMH+V4T/rdJ0ZaXATB1kXtOEUXrqdlA=; b=lbwYn3bA/5wjOMKeYZjbsooNGN9LjVl3oMQWksLF9kBLbBjgaIObCO8M0D10m/h+UQ iEkNILuB2v1LEzpSRi3VRC2QljqWBlWgBOBjzi5XMDq7TeQGUjiK8acEWRDM/4oZ6GnH 9S64GIGyXdDJCLREVNc1taWv/y6gZVstkpp18frMljp0NXwm1gN89meXNnuP7KWX82jm tWKAPOmkTWD2AC4WzaF84iwdV1ej3h2auhNqqjc1zSjWgkvfxb5fiMVZolqPed4dW31s 7B1o+pUCoE0q2OV9+myEI5W8PTLRJ8858mDfA5QlxyvqV0lbETB7v6t/axqX0Z7FAc7Z 8kXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=m8fdl5A8; 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 r8si5758992pgr.243.2019.08.24.22.45.30; Sat, 24 Aug 2019 22:46:37 -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=m8fdl5A8; 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 S1726222AbfHYFkw (ORCPT + 99 others); Sun, 25 Aug 2019 01:40:52 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:36288 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725972AbfHYFkw (ORCPT ); Sun, 25 Aug 2019 01:40:52 -0400 Received: by mail-pl1-f193.google.com with SMTP id f19so8131106plr.3 for ; Sat, 24 Aug 2019 22:40:52 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=oFfgVd1HrYudeMH+V4T/rdJ0ZaXATB1kXtOEUXrqdlA=; b=m8fdl5A8fxXULQBbv8DkWxR9lnZiN19xRHyF1cgeSYypSxNVhdNlMol9HGfyjTEt1Z NErtDMu9J9v757HnHofiLvHU1oSaFrIlxB3VzbNbT6UXuq3VUvWGI0BP+aaOSh/f1KWY uaOBA+rJ54B801AC5/cCGpqkuvzenMui0NuCBm+Iw1y+mnhmlzYCC+Wp+ElT1K5hrH1v PYMBNKLM2QiQnH6+y/KSWsjyHgLDVyJS0upAZH4+iT1J2sGJ5NuHI6PoRaYmSrylAPhz W0wlIrAJhAtq6Jl4V1Gmydewmtgg4/3TgMxdcrYHi5jo5jc9BerpmEbSKfassIMPFwTF 3L5w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=oFfgVd1HrYudeMH+V4T/rdJ0ZaXATB1kXtOEUXrqdlA=; b=RzPZQEbmYUJRkRiBC1RRN3F2Y6H3WsdLNImKG0UpnHC1cRCZ4IIL4Yxh4MbE/1uegc Wxse4G2D6pQzZl0cHb+IbFvbppMj2ENwBXnJOTb+sTvhkOq323ajWzsRIeEcFGVv/7VN hOEugt6wWhh1OaIMMEXr9Kr5UB1Sjvlm5XftUyhmrwoo4FdeyRq7uXMsV1cvv5TeGaQg cfH+Q8vLgOQXKFPr6bqjDwflJu5PKRQ/JNvFo/Gls60NBOsNyd6/I+O9gY3FCJfTupcR Px2xUxpT5lehHD479o/KFvX72kW1J+aZgxpyHOWQxipV26VobHl/IkowYUC9sw9bPpsE L6OQ== X-Gm-Message-State: APjAAAU/jzFLKrleIgxkNTj9/xm4kN5aDptzjagbGLMSmvW/vSNpn0Nq mT6VpD7a0mpdtVOkS5umNC4= X-Received: by 2002:a17:902:4201:: with SMTP id g1mr13023712pld.300.1566711651684; Sat, 24 Aug 2019 22:40:51 -0700 (PDT) Received: from localhost.localdomain (ip-103-85-38-221.syd.xi.com.au. [103.85.38.221]) by smtp.gmail.com with ESMTPSA id r75sm9395181pfc.18.2019.08.24.22.40.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Aug 2019 22:40:51 -0700 (PDT) From: Adam Zerella Cc: Adam Zerella , Dominik Brodowski , Thomas Gleixner , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: [PATCH v2] pcmcia/i82092: Refactored dprintk macro for dev_dbg(). Date: Sun, 25 Aug 2019 15:35:10 +1000 Message-Id: <20190825053513.13990-1-adam.zerella@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190823174357.GA8052@kroah.com> References: <20190823174357.GA8052@kroah.com> 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 suggested in https://kernelnewbies.org/KernelJanitors/Todo this patch replaces the outdated macro of DPRINTK for dev_dbg() To: Dominik Brodowski To: Thomas Gleixner To: Greg Kroah-Hartman To: Adam Zerella To: linux-kernel@vger.kernel.org Signed-off-by: Adam Zerella --- Changes in v2: - Swap pr_debug() for dev_dbg() - Clarify commit summary message 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..245d60189375 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); + dev_dbg(&dev->dev, "i82092aa: slot %i is occupied\n", i); } else { - dprintk(KERN_DEBUG "i82092aa: slot %i is vacant\n",i); + dev_dbg(&dev->dev, "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); + dev_dbg(&dev->dev, "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