Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8291dde authored by Ezequiel Garcia's avatar Ezequiel Garcia Committed by Vinod Koul
Browse files

dma: mv_xor: Replace printk with dev_info



This commit replaces a printk(KERN_INFO ...) call with a dev_info() call,
which is prefered for drivers.

Signed-off-by: default avatarEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent a64efe15
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -537,8 +537,9 @@ static int mv_xor_alloc_chan_resources(struct dma_chan *chan)
	while (idx < num_descs_in_pool) {
		slot = kzalloc(sizeof(*slot), GFP_KERNEL);
		if (!slot) {
			printk(KERN_INFO "MV XOR Channel only initialized"
				" %d descriptor slots", idx);
			dev_info(mv_chan_to_devp(mv_chan),
				 "channel only initialized %d descriptor slots",
				 idx);
			break;
		}
		virt_desc = mv_chan->dma_desc_pool_virt;