ssb: Remove home-grown printk wrappers
Replace the ssb printk wrappers by standard print helpers. Also remove SSB_SILENT. Nobody should use it anyway. Originally submitted by Joe Perches <joe@perches.com>. Modified to add dev_... based printks. Signed-off-by: Michael Buesch <m@bues.ch> Tested-by: Michael Buesch <m@bues.ch> Cc: Joe Perches <joe@perches.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:

committed by
Kalle Valo

parent
4d77a89e39
commit
b8b6069cf2
@@ -127,13 +127,13 @@ ssize_t ssb_attr_sprom_store(struct ssb_bus *bus,
|
||||
goto out_kfree;
|
||||
err = ssb_devices_freeze(bus, &freeze);
|
||||
if (err) {
|
||||
ssb_err("SPROM write: Could not freeze all devices\n");
|
||||
pr_err("SPROM write: Could not freeze all devices\n");
|
||||
goto out_unlock;
|
||||
}
|
||||
res = sprom_write(bus, sprom);
|
||||
err = ssb_devices_thaw(&freeze);
|
||||
if (err)
|
||||
ssb_err("SPROM write: Could not thaw all devices\n");
|
||||
pr_err("SPROM write: Could not thaw all devices\n");
|
||||
out_unlock:
|
||||
mutex_unlock(&bus->sprom_mutex);
|
||||
out_kfree:
|
||||
|
Reference in New Issue
Block a user