With this patch get_device_by_path obeys the cwd, which allows a more intuitive devinfo command. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>