diff options
author | Ken Adams <kadams@nvidia.com> | 2011-09-21 19:12:01 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:49:03 -0800 |
commit | d03d3fdc6909d8721e6630ef2951326dbdc3700f (patch) | |
tree | 83862bc63adc13a287f5846603a2e3adefde0266 /drivers/video/tegra/host/nvhost_acm.c | |
parent | bd8008b609e0d3ab34ec93df2844c64c69b72a59 (diff) |
video: tegra: host: fix checkpatch.pl issues
The only warnings left are one for
"./nvhost_cdma.c: 609: WARNING: consider using a completion"
and all "over 80 char line" warnings.
Change-Id: I5aa113dac1deb60570c326976baba96386b041ec
Reviewed-on: http://git-master/r/53842
Reviewed-by: Ken Adams <kadams@nvidia.com>
Tested-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Jeff Smith <jsmith@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Rebase-Id: R83200f349310910a04705d0f7a94d8163e0666fe
Diffstat (limited to 'drivers/video/tegra/host/nvhost_acm.c')
-rw-r--r-- | drivers/video/tegra/host/nvhost_acm.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/video/tegra/host/nvhost_acm.c b/drivers/video/tegra/host/nvhost_acm.c index 19ebb8fbb47c..d665a35ae905 100644 --- a/drivers/video/tegra/host/nvhost_acm.c +++ b/drivers/video/tegra/host/nvhost_acm.c @@ -570,20 +570,20 @@ void nvhost_module_remove_client(struct nvhost_module *mod, void *priv) } #else int nvhost_module_get_rate(struct nvhost_module *mod, unsigned long *rate, - int index) + int index) { - return 0; + return 0; } int nvhost_module_set_rate(struct nvhost_module *mod, void *priv, - unsigned long rate, int index) + unsigned long rate, int index) { - return 0; + return 0; } int nvhost_module_add_client(struct nvhost_module *mod, void *priv) { - return 0; + return 0; } void nvhost_module_remove_client(struct nvhost_module *mod, void *priv) @@ -681,19 +681,19 @@ static void debug_not_idle(struct nvhost_master *dev) for (i = 0; i < dev->nb_channels; i++) { struct nvhost_module *m = &dev->channels[i].mod; if (m->name) - printk("tegra_grhost: %s: refcnt %d\n", + printk(KERN_INFO "tegra_grhost: %s: refcnt %d\n", m->name, atomic_read(&m->refcount)); } for (i = 0; i < dev->nb_mlocks; i++) { int c = atomic_read(&dev->cpuaccess.lock_counts[i]); if (c) { - printk("tegra_grhost: lock id %d: refcnt %d\n", i, c); + printk(KERN_INFO "tegra_grhost: lock id %d: refcnt %d\n", i, c); lock_released = false; } } if (lock_released) - printk("tegra_grhost: all locks released\n"); + printk(KERN_INFO "tegra_grhost: all locks released\n"); } void nvhost_module_suspend(struct nvhost_module *mod, bool system_suspend) @@ -715,13 +715,13 @@ void nvhost_module_suspend(struct nvhost_module *mod, bool system_suspend) nvhost_debug_dump(dev); if (system_suspend) - printk("tegra_grhost: entered idle\n"); + printk(KERN_INFO "tegra_grhost: entered idle\n"); flush_delayed_work(&mod->powerdown); cancel_work_sync(&scale3d.work); if (system_suspend) - printk("tegra_grhost: flushed delayed work\n"); + printk(KERN_INFO "tegra_grhost: flushed delayed work\n"); BUG_ON(mod->powered); } |