mirror of
https://github.com/openwrt/openwrt.git
synced 2026-07-12 22:44:49 +04:00
gpio-button-hotplug: remove pointless void cast
void pointer casting like this is unnecessary. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/24177 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
This commit is contained in:
committed by
Jonas Jelonek
parent
a88866c5c4
commit
5de5bb79fd
@@ -350,8 +350,7 @@ static void gpio_keys_irq_work_func(struct work_struct *work)
|
||||
|
||||
static irqreturn_t button_handle_irq(int irq, void *_bdata)
|
||||
{
|
||||
struct gpio_keys_button_data *bdata =
|
||||
(struct gpio_keys_button_data *) _bdata;
|
||||
struct gpio_keys_button_data *bdata = _bdata;
|
||||
|
||||
mod_delayed_work(system_wq, &bdata->work,
|
||||
msecs_to_jiffies(bdata->software_debounce));
|
||||
|
||||
Reference in New Issue
Block a user