Commit 588b7781 authored by Federico Vaga's avatar Federico Vaga

kernel: free does not return errors

If there are no reasons for a *_free() function to return an error, change
the return type to void
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent b6f00660
......@@ -191,7 +191,7 @@ static inline int vic_handler_count(struct vic_irq_controller *vic)
}
int spec_vic_irq_free(struct spec_dev *spec, unsigned long id)
void spec_vic_irq_free(struct spec_dev *spec, unsigned long id)
{
int i;
......@@ -213,8 +213,6 @@ int spec_vic_irq_free(struct spec_dev *spec, unsigned long id)
spec_vic_exit(spec->vic);
spec->vic = NULL;
}
return 0;
}
void spec_vic_irq_ack(struct spec_dev *spec, unsigned long id)
......
......@@ -147,7 +147,7 @@ extern void spec_gpio_exit(struct fmc_device *fmc);
/* Functions in spec-vic.c */
int spec_vic_irq_request(struct spec_dev *spec, struct fmc_device *fmc,
unsigned long id, irq_handler_t handler);
int spec_vic_irq_free(struct spec_dev *spec, unsigned long id);
void spec_vic_irq_free(struct spec_dev *spec, unsigned long id);
irqreturn_t spec_vic_irq_dispatch(struct spec_dev *spec);
#endif /* __SPEC_H__ */
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