summaryrefslogtreecommitdiff
path: root/drivers/staging/most/hdm-dim2/dim2_hdm.c
diff options
context:
space:
mode:
authorChaehyun Lim <chaehyun.lim@gmail.com>2015-11-02 16:59:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-11-16 07:02:47 +0300
commita5e4d891a3968ded645a1c556f021097b2faa514 (patch)
tree83f73df6f892349adb77c931fa5b67f24a1effae /drivers/staging/most/hdm-dim2/dim2_hdm.c
parent10e5efb7b51f30b696a2cde366b783d8ecd0f465 (diff)
downloadlinux-a5e4d891a3968ded645a1c556f021097b2faa514.tar.xz
staging: most: rename DIM_DestroyChannel to dim_destroy_channel
This patch renames DIM_DestroyChannel to dim_destroy_channel to avoid camelcase found by checkpatch. CHECK: Avoid CamelCase: <DIM_DestroyChannel> FILE: drivers/staging/most/hdm-dim2/dim2_hal.c:806: Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most/hdm-dim2/dim2_hdm.c')
-rw-r--r--drivers/staging/most/hdm-dim2/dim2_hdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/most/hdm-dim2/dim2_hdm.c b/drivers/staging/most/hdm-dim2/dim2_hdm.c
index 63219852d112..6cd6c788e6f7 100644
--- a/drivers/staging/most/hdm-dim2/dim2_hdm.c
+++ b/drivers/staging/most/hdm-dim2/dim2_hdm.c
@@ -706,7 +706,7 @@ static int poison_channel(struct most_interface *most_iface, int ch_idx)
return -EPERM;
spin_lock_irqsave(&dim_lock, flags);
- hal_ret = DIM_DestroyChannel(&hdm_ch->ch);
+ hal_ret = dim_destroy_channel(&hdm_ch->ch);
hdm_ch->is_initialized = false;
if (ch_idx == dev->atx_idx)
dev->atx_idx = -1;