Accessing rpmsg_device in sysfs attribute functions