summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_max98088.c
diff options
context:
space:
mode:
authorColin Patrick McCabe <cmccabe@nvidia.com>2011-10-19 12:10:29 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:49:29 -0800
commite7fbb0f99e1253a929ab6be5127caafeb7a436df (patch)
tree958d655b27de8d931c30bf1c377b897f6821a3bb /sound/soc/tegra/tegra_max98088.c
parentbb284d97264bad655ff28d36900fe89ea5a1b525 (diff)
sound: tegra: fix bug in error handling
Fix invalid printf arguments in error handler. Change-Id: I4d86ba0b00eb4ab7d04660c5c9cd69082ea7799f Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com> Reviewed-on: http://git-master/r/59171 Reviewed-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Rebase-Id: R3786dda027d44f423ac2417c9f560761bd10ef10
Diffstat (limited to 'sound/soc/tegra/tegra_max98088.c')
-rw-r--r--sound/soc/tegra/tegra_max98088.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/tegra/tegra_max98088.c b/sound/soc/tegra/tegra_max98088.c
index 47869a2e348f..b25a922c7fe1 100644
--- a/sound/soc/tegra/tegra_max98088.c
+++ b/sound/soc/tegra/tegra_max98088.c
@@ -409,8 +409,8 @@ static __devinit int tegra_max98088_driver_probe(struct platform_device *pdev)
/* Add h2w swith class support */
ret = switch_dev_register(&wired_switch_dev);
if (ret < 0) {
- dev_err(&pdev->dev, "not able to register switch device\n",
- ret);
+ dev_err(&pdev->dev, "not able to register switch device "
+ "(%d)\n", ret);
goto err_unregister_card;
}
#endif