state_show
length = state_show(&edev->dev, NULL, prop_buf);
__ATTR_PREALLOC(state, S_IRUGO|S_IWUSR, state_show, state_store);