[dahdi-commits] rmeyerriecks: linux/trunk r9105 - /linux/trunk/drivers/dahdi/wct4xxp/base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Fri Aug 6 17:12:43 CDT 2010
Author: rmeyerriecks
Date: Fri Aug 6 17:12:39 2010
New Revision: 9105
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9105
Log:
wct4xxp: minor checkpatch changes
Modified:
linux/trunk/drivers/dahdi/wct4xxp/base.c
Modified: linux/trunk/drivers/dahdi/wct4xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wct4xxp/base.c?view=diff&rev=9105&r1=9104&r2=9105
==============================================================================
--- linux/trunk/drivers/dahdi/wct4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wct4xxp/base.c Fri Aug 6 17:12:39 2010
@@ -2267,7 +2267,7 @@
__t4_pci_out(wc, WC_DMACTRL, wc->dmactrl);
}
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 18))
static ssize_t t4_timing_master_show(struct device *dev,
struct device_attribute *attr,
char *buf)
@@ -2283,19 +2283,19 @@
static void create_sysfs_files(struct t4 *wc)
{
- int ret;
- ret = device_create_file(&wc->dev->dev,
- &dev_attr_timing_master);
- if (ret) {
- dev_info(&wc->dev->dev,
- "Failed to create device attributes.\n");
- }
+ int ret;
+ ret = device_create_file(&wc->dev->dev,
+ &dev_attr_timing_master);
+ if (ret) {
+ dev_info(&wc->dev->dev,
+ "Failed to create device attributes.\n");
+ }
}
static void remove_sysfs_files(struct t4 *wc)
{
- device_remove_file(&wc->dev->dev,
- &dev_attr_timing_master);
+ device_remove_file(&wc->dev->dev,
+ &dev_attr_timing_master);
}
#else
More information about the dahdi-commits
mailing list