Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752176AbdLISDE (ORCPT ); Sat, 9 Dec 2017 13:03:04 -0500 Received: from mail-lf0-f66.google.com ([209.85.215.66]:44821 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751942AbdLISDA (ORCPT ); Sat, 9 Dec 2017 13:03:00 -0500 X-Google-Smtp-Source: AGs4zMbPvMHkNYmeScR51alYbTXgv3mwilSA86Dtbp4JrwV6B5obvo1AwWvm3eA/vmzIExxkQHAePQ== From: =?UTF-8?q?Simon=20Sandstr=C3=B6m?= To: gregkh@linuxfoundation.org Cc: marcin.s.ciupak@gmail.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] staging: pi433: Refactor usage of dev_dbg and #ifdef DEBUG Date: Sat, 9 Dec 2017 19:02:54 +0100 Message-Id: <20171209180257.24240-1-simon@nikanor.nu> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 708 Lines: 22 These patches refactors the usage of dev_dbg and #ifdef DEBUG in rf69.c. All dev_dbg() calls that just prints the function name are removed, since we have ftrace. For all other calls the #ifdef DEBUG block around them are removed. There are still two more defines used in rf69.c: DEBUG_FIFO_ACCESS and DEBUG_VALUES. Perhaps they should be removed as well? - Simon --- Simon Sandström (3): staging: pi433: Remove indentation on #ifdef blocks staging: pi433: Remove function entry dev_dbg() staging: pi433: Remove unnecessary #ifdef DEBUG around dev_dbg drivers/staging/pi433/rf69.c | 232 ++++++------------------------------------- 1 file changed, 32 insertions(+), 200 deletions(-) -- 2.11.0