Title: [5952] trunk: drop ad73311 test code ...
- Revision
- 5952
- Author
- vapier
- Date
- 2009-01-06 14:43:14 -0600 (Tue, 06 Jan 2009)
Log Message
drop ad73311 test code ... this can be done easily from userspace
Modified Paths
Diff
Modified: trunk/arch/blackfin/include/asm/bfin_sport.h (5951 => 5952)
--- trunk/arch/blackfin/include/asm/bfin_sport.h 2009-01-06 14:24:42 UTC (rev 5951)
+++ trunk/arch/blackfin/include/asm/bfin_sport.h 2009-01-06 20:43:14 UTC (rev 5952)
@@ -120,9 +120,6 @@
#define SPORT_IOC_MAGIC 'P'
#define SPORT_IOC_CONFIG _IOWR('P', 0x01, struct sport_config)
-/* Test purpose */
-#define ENABLE_AD73311 _IOWR('P', 0x02, int)
-
struct sport_dev {
struct cdev cdev; /* Char device structure */
Modified: trunk/drivers/char/bfin_sport.c (5951 => 5952)
--- trunk/drivers/char/bfin_sport.c 2009-01-06 14:24:42 UTC (rev 5951)
+++ trunk/drivers/char/bfin_sport.c 2009-01-06 20:43:14 UTC (rev 5952)
@@ -647,17 +647,6 @@
return -EFAULT;
break;
- /* Test purpose */
- case ENABLE_AD73311:
-#define GPIO_SE 4
- gpio_request(GPIO_SE, "AD73311 SE");
- gpio_direction_output(GPIO_SE, arg);
-
- /* arg = 0 Disable ad73311 Pull down SE pin on AD73311
- * arg = 1 Enable ad73311
- */
- break;
-
default:
return -EINVAL;
}
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits