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

Commit 222dc791 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Paul Mundt
Browse files

sh: remove unneeded cast



now that platform_device_register_simple() takes a "const chat *".

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 2a3eeba8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -350,7 +350,7 @@ int register_dmac(struct dma_info *info)

	BUG_ON((info->flags & DMAC_CHANNELS_CONFIGURED) && !info->channels);

	info->pdev = platform_device_register_simple((char *)info->name, -1,
	info->pdev = platform_device_register_simple(info->name, -1,
						     NULL, 0);
	if (IS_ERR(info->pdev))
		return PTR_ERR(info->pdev);