From patchwork Tue Jan 1 23:00:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 10746013 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 960A0746 for ; Tue, 1 Jan 2019 23:00:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8782F2877B for ; Tue, 1 Jan 2019 23:00:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B9AE28791; Tue, 1 Jan 2019 23:00:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 295B82877B for ; Tue, 1 Jan 2019 23:00:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726421AbfAAXAY (ORCPT ); Tue, 1 Jan 2019 18:00:24 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:41717 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725956AbfAAXAY (ORCPT ); Tue, 1 Jan 2019 18:00:24 -0500 Received: by mail-lj1-f196.google.com with SMTP id k15-v6so25727978ljc.8 for ; Tue, 01 Jan 2019 15:00:23 -0800 (PST) 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=iUipszXqg+UCsaAP2Zv0lD7DMU9EtOWuUga15ntSNuI=; b=iRsDxNzmHmSZLEPPdUSF1uALCXhgVlKu/xJYBpw0UoebHWmfL1VUpaP790ETAnr9p4 Kq9zHUYdCg7pi+SCXLWDJ9ZuFhrlP3wIKaNwvC9zdCssV57bmEsrM2pZScGPjp1DVuk3 bz6QgS2p5KYgSZYLqmxbW1yclseoceoqy8ghD+389HS4VQz/9Yn/LgPjjEHYTYaRnUVu k2ZEPtI7XLKEz/kztrabopn5fwJMk92Org4YzYZRg00vuuK9UYw+CwXvPM4BEWpkIScK d9Fm7H+OaT8mfXzQvrWDbZlwUBnl5wS777t4iq9DlAZYdw+FeiaZXxYANKgiXJFu0l7/ oIdA== 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=iUipszXqg+UCsaAP2Zv0lD7DMU9EtOWuUga15ntSNuI=; b=H/2bamjm5jzUd17dZd/UCUpD9PVSCKcYv/igL8HuxXA71y97rP4YF4jmj0uCqNUBT/ mKplStygAHceztmWNzU2+MjqlOnV2Ndh+4cSqOFR4Mk536GphVLfSn/RY8I33fwwapQZ eOPL0cBGWGRE4KqyMlwipzE9ISX7u1EVaQPpmKsUaYgtd0IJpdtJmlfjPXRuzAHaOG/b NNarBIABNhhBi6icCKJRW2e0DuJyTbk2JWkI+bUQWHMLeZdq5IM1104pLGT84TdRMRLQ Wh3cQh3dQ3yNyamu/TWJuxzQoGkqgTVfNRfy+j61bwdWq8PBmDpPPd8CsO8oyvU9+SUa ptZQ== X-Gm-Message-State: AJcUukcEWn4j7srFnvmuH+rFvtobFF1onyjKwnI5nN/hdpou0jc16ZzD Wm5OoFKj1oPn0a6esadrIDE= X-Google-Smtp-Source: ALg8bN4+cwlqqugePwJ/TRQ4VlsZRIY/2g1YP7RJVHg5hDw+RFTqSK9al0XSp0tNXuEouByXSg6YUQ== X-Received: by 2002:a2e:8945:: with SMTP id b5-v6mr20402894ljk.55.1546383622658; Tue, 01 Jan 2019 15:00:22 -0800 (PST) Received: from linux-veee.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id e97-v6sm10994589lji.51.2019.01.01.15.00.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 01 Jan 2019 15:00:22 -0800 (PST) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Kalle Valo Cc: linux-wireless@vger.kernel.org, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 2/2] bcma: use dev_* printing functions Date: Wed, 2 Jan 2019 00:00:02 +0100 Message-Id: <20190101230002.18845-2-zajec5@gmail.com> X-Mailer: git-send-email 2.13.7 In-Reply-To: <20190101230002.18845-1-zajec5@gmail.com> References: <20190101230002.18845-1-zajec5@gmail.com> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Rafał Miłecki It provides more meaningful messages. Signed-off-by: Rafał Miłecki --- drivers/bcma/bcma_private.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/bcma/bcma_private.h b/drivers/bcma/bcma_private.h index 1f0e66310b23..6eded32d1aac 100644 --- a/drivers/bcma/bcma_private.h +++ b/drivers/bcma/bcma_private.h @@ -10,13 +10,13 @@ #include #define bcma_err(bus, fmt, ...) \ - pr_err("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) + dev_err((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__) #define bcma_warn(bus, fmt, ...) \ - pr_warn("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) + dev_warn((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__) #define bcma_info(bus, fmt, ...) \ - pr_info("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) + dev_info((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__) #define bcma_debug(bus, fmt, ...) \ - pr_debug("bus%d: " fmt, (bus)->num, ##__VA_ARGS__) + dev_dbg((bus)->dev, "bus%d: " fmt, (bus)->num, ##__VA_ARGS__) struct bcma_bus;