Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b5603e0 authored by David S. Miller's avatar David S. Miller
Browse files

[DVB] cinergyT2: cinergyt2_register_rc() should return 0 on success



Currently, the version when ENABLE_RC is defined, falls through
to the end of the function without returning anything.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 574780d5
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -779,6 +779,8 @@ static int cinergyt2_register_rc(struct cinergyt2 *cinergyt2)


	input_register_device(cinergyt2->rc_input_dev);
	input_register_device(cinergyt2->rc_input_dev);
	schedule_delayed_work(&cinergyt2->rc_query_work, HZ/2);
	schedule_delayed_work(&cinergyt2->rc_query_work, HZ/2);

	return 0;
}
}


static void cinergyt2_unregister_rc(struct cinergyt2 *cinergyt2)
static void cinergyt2_unregister_rc(struct cinergyt2 *cinergyt2)