summaryrefslogtreecommitdiff
path: root/sound/pci/ctxfi/ctresource.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/ctxfi/ctresource.c')
-rw-r--r--sound/pci/ctxfi/ctresource.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/sound/pci/ctxfi/ctresource.c b/sound/pci/ctxfi/ctresource.c
index 11ac934dcefd..e49d2be1bfd4 100644
--- a/sound/pci/ctxfi/ctresource.c
+++ b/sound/pci/ctxfi/ctresource.c
@@ -162,14 +162,12 @@ int rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, void *hw)
case DAIO:
break;
default:
- pr_err(
- "ctxfi: Invalid resource type value %d!\n", type);
+ pr_err("ctxfi: Invalid resource type value %d!\n", type);
return -EINVAL;
}
if (err) {
- pr_err(
- "ctxfi: Failed to get resource control block!\n");
+ pr_err("ctxfi: Failed to get resource control block!\n");
return err;
}
@@ -192,8 +190,8 @@ int rsc_uninit(struct rsc *rsc)
case DAIO:
break;
default:
- pr_err("ctxfi: "
- "Invalid resource type value %d!\n", rsc->type);
+ pr_err("ctxfi: Invalid resource type value %d!\n",
+ rsc->type);
break;
}
@@ -235,15 +233,13 @@ int rsc_mgr_init(struct rsc_mgr *mgr, enum RSCTYP type,
case SUM:
break;
default:
- pr_err(
- "ctxfi: Invalid resource type value %d!\n", type);
+ pr_err("ctxfi: Invalid resource type value %d!\n", type);
err = -EINVAL;
goto error;
}
if (err) {
- pr_err(
- "ctxfi: Failed to get manager control block!\n");
+ pr_err("ctxfi: Failed to get manager control block!\n");
goto error;
}
@@ -286,8 +282,8 @@ int rsc_mgr_uninit(struct rsc_mgr *mgr)
case SUM:
break;
default:
- pr_err("ctxfi: "
- "Invalid resource type value %d!\n", mgr->type);
+ pr_err("ctxfi: Invalid resource type value %d!\n",
+ mgr->type);
break;
}