bus/fslmc: sanitize device name parsing for clarity
authorShreyansh Jain <shreyansh.jain@nxp.com>
Tue, 5 Nov 2019 14:23:21 +0000 (19:53 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 6 Nov 2019 00:15:49 +0000 (01:15 +0100)
commit23a2489a83418b6ab1bf8b33ef20785a497c4716
tree26a500b9dc6fbdce20e7e83d4837e229abb0d866
parent408077f28368303803f6a1508db399d5f36135d7
bus/fslmc: sanitize device name parsing for clarity

remove unnecessary dup and free

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Reviewed-by: Nipun Gupta <nipun.gupta@nxp.com>
drivers/bus/fslmc/fslmc_bus.c