Searched refs:pull_attr (Results 1 – 1 of 1) sorted by relevance
305 struct gpio_sim_attribute *val_attr, *pull_attr; in gpio_sim_setup_sysfs() local322 pull_attr = devm_kzalloc(dev, sizeof(*pull_attr), GFP_KERNEL); in gpio_sim_setup_sysfs()323 if (!attr_group || !attrs || !val_attr || !pull_attr) in gpio_sim_setup_sysfs()331 val_attr->offset = pull_attr->offset = i; in gpio_sim_setup_sysfs()334 pull_dev_attr = &pull_attr->dev_attr; in gpio_sim_setup_sysfs()