Commit e342e0ad authored by Federico Vaga's avatar Federico Vaga

sw:drv: minor code readability improvement

Signed-off-by: Federico Vaga's avatarFederico Vaga <>
parent b0097d7a
...@@ -308,7 +308,7 @@ static void spec_gpio_exit_table(struct spec_gn412x *spec_gn412x) ...@@ -308,7 +308,7 @@ static void spec_gpio_exit_table(struct spec_gn412x *spec_gn412x)
{ {
struct gpiod_lookup_table *lookup = spec_gn412x->gpiod_table; struct gpiod_lookup_table *lookup = spec_gn412x->gpiod_table;
gpiod_remove_lookup_table(spec_gn412x->gpiod_table); gpiod_remove_lookup_table(lookup);
kfree(lookup->dev_id); kfree(lookup->dev_id);
kfree(lookup); kfree(lookup);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment