dev_attribute_show
static ssize_t dev_attribute_show(struct device *dev,
__ATTR(eraseblock_size, S_IRUGO, dev_attribute_show, NULL);
__ATTR(avail_eraseblocks, S_IRUGO, dev_attribute_show, NULL);
__ATTR(total_eraseblocks, S_IRUGO, dev_attribute_show, NULL);
__ATTR(volumes_count, S_IRUGO, dev_attribute_show, NULL);
__ATTR(max_ec, S_IRUGO, dev_attribute_show, NULL);
__ATTR(reserved_for_bad, S_IRUGO, dev_attribute_show, NULL);
__ATTR(bad_peb_count, S_IRUGO, dev_attribute_show, NULL);
__ATTR(max_vol_count, S_IRUGO, dev_attribute_show, NULL);
__ATTR(min_io_size, S_IRUGO, dev_attribute_show, NULL);
__ATTR(bgt_enabled, S_IRUGO, dev_attribute_show, NULL);
__ATTR(mtd_num, S_IRUGO, dev_attribute_show, NULL);
__ATTR(ro_mode, S_IRUGO, dev_attribute_show, NULL);