summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wct4xxp
diff options
context:
space:
mode:
authorRuss Meyerriecks <rmeyerriecks@digium.com>2010-08-06 22:12:39 +0000
committerRuss Meyerriecks <rmeyerriecks@digium.com>2010-08-06 22:12:39 +0000
commita6c5baf2a4c4cfe34cb51ec9ab5f91434016b6e8 (patch)
tree38b5fff3368aeed8afd34851e8903ae418624569 /drivers/dahdi/wct4xxp
parenta1a561e90a6a817ccaad5a6bb1c4d3db699532d9 (diff)
wct4xxp: minor checkpatch changes
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9105 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wct4xxp')
-rw-r--r--drivers/dahdi/wct4xxp/base.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/dahdi/wct4xxp/base.c b/drivers/dahdi/wct4xxp/base.c
index bf8f3e6..dcd1bd2 100644
--- a/drivers/dahdi/wct4xxp/base.c
+++ b/drivers/dahdi/wct4xxp/base.c
@@ -2267,7 +2267,7 @@ static void __t4_set_sclk_src(struct t4 *wc, int mode, int master, int slave)
__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 DEVICE_ATTR(timing_master, 0400, t4_timing_master_show, NULL);
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