[media] smiapp: Remove smiapp-debug.h in favour of dynamic debug
authorSakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Tue, 15 May 2012 14:02:48 +0000 (11:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 15 May 2012 15:06:58 +0000 (12:06 -0300)
Remove smiapp-debug.h and let people use CONFIG_DYNAMIC_DEBUG instead. The
option only affected to when debug information was being printed.

Signed-off-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/smiapp-pll.c
drivers/media/video/smiapp/Kconfig
drivers/media/video/smiapp/smiapp-core.c
drivers/media/video/smiapp/smiapp-debug.h [deleted file]
drivers/media/video/smiapp/smiapp-quirk.c
drivers/media/video/smiapp/smiapp-regs.c

index 501da41..a416e27 100644 (file)
@@ -22,8 +22,6 @@
  *
  */
 
-#include "smiapp/smiapp-debug.h"
-
 #include <linux/gcd.h>
 #include <linux/lcm.h>
 #include <linux/module.h>
index 9504c43..f7b35ff 100644 (file)
@@ -4,10 +4,3 @@ config VIDEO_SMIAPP
        select VIDEO_SMIAPP_PLL
        ---help---
          This is a generic driver for SMIA++/SMIA camera modules.
-
-config VIDEO_SMIAPP_DEBUG
-       bool "Enable debugging for the generic SMIA++/SMIA driver"
-       depends on VIDEO_SMIAPP
-       ---help---
-         Enable debugging output in the generic SMIA++/SMIA driver. If you
-         are developing the driver you might want to enable this.
index 3991c45..a8a1db9 100644 (file)
@@ -26,8 +26,6 @@
  *
  */
 
-#include "smiapp-debug.h"
-
 #include <linux/delay.h>
 #include <linux/device.h>
 #include <linux/gpio.h>
diff --git a/drivers/media/video/smiapp/smiapp-debug.h b/drivers/media/video/smiapp/smiapp-debug.h
deleted file mode 100644 (file)
index 627809e..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * drivers/media/video/smiapp/smiapp-debug.h
- *
- * Generic driver for SMIA/SMIA++ compliant camera modules
- *
- * Copyright (C) 2011--2012 Nokia Corporation
- * Contact: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA
- *
- */
-
-#ifndef SMIAPP_DEBUG_H
-#define SMIAPP_DEBUG_H
-
-#ifdef CONFIG_VIDEO_SMIAPP_DEBUG
-#define DEBUG
-#endif
-
-#endif
index dae85a1..fb018de 100644 (file)
@@ -22,8 +22,6 @@
  *
  */
 
-#include "smiapp-debug.h"
-
 #include <linux/delay.h>
 
 #include "smiapp.h"
index 4851ff7..a5055f1 100644 (file)
@@ -22,8 +22,6 @@
  *
  */
 
-#include "smiapp-debug.h"
-
 #include <linux/delay.h>
 #include <linux/i2c.h>