ARM: SAMSUNG: question about cfg_eint field of struct s3c_gpio_cfg
Hi,
There is cfg_eint field in struct s3c_gpio_cfg at arch/arm/plat-samsung/include/plat/gpio-cfg.h. I don't know the usage of cfg_eint. It isn't used anywhere or just assigned. Does it need really?
struct s3c_gpio_cfg {
unsigned int cfg_eint;
s3c_gpio_pull_t (*get_pull)(struct s3c_gpio_chip *chip, unsigned offs);
int (*set_pull)(struct s3c_gpio_chip *chip, unsigned offs,
s3c_gpio_pull_t pull);
unsigned (*get_config)(struct s3c_gpio_chip *chip, unsigned offs);
int (*set_config)(struct s3c_gpio_chip *chip, unsigned offs,
unsigned config);
};Quoted 5 lines · Joonyoung Shim
Hi,
There is
cfg_eintfield in structs3c_gpio_cfgatarch/arm/plat-samsung/include/plat/gpio-cfg.h. I don't know the usage ofcfg_eint. It isn't used anywhere or just assigned. Does it need really?
It was there for the interrupt code to configure the external-interrupt information, but it was never used. It probably wants deleting if we can't re-use it.
Signature · 4 lines
Ben Q: What's a light-year? A: One-third less calories than a regular year.