* Hiroshi DOYU <Hiroshi.DOYU@xxxxxxxxx> [080422 06:26]: > drivers/cbus/retu-pwrbutton.c:100: warning: ignoring return value of 'input_register_device', declared with attribute warn_unused_result > > Signed-off-by: Hiroshi DOYU <Hiroshi.DOYU@xxxxxxxxx> > --- > drivers/cbus/retu-pwrbutton.c | 4 +--- > 1 files changed, 1 insertions(+), 3 deletions(-) > > diff --git a/drivers/cbus/retu-pwrbutton.c b/drivers/cbus/retu-pwrbutton.c > index 283d9ca..38d7aa4 100644 > --- a/drivers/cbus/retu-pwrbutton.c > +++ b/drivers/cbus/retu-pwrbutton.c > @@ -97,9 +97,7 @@ static int __init retubutton_init(void) > pwrbtn_dev->keybit[BIT_WORD(KEY_POWER)] = BIT_MASK(KEY_POWER); > pwrbtn_dev->name = "retu-pwrbutton"; > > - input_register_device(pwrbtn_dev); > - > - return 0; > + return input_register_device(pwrbtn_dev); > } > > /** Pushing. Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html