mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Burton <paul.burton@imgtec.com>
To: Geliang Tang <geliangtang@gmail.com>
Cc: Miguel Ojeda Sandonis <miguel.ojeda.sandonis@gmail.com>,
	<linux-kernel@vger.kernel.org>,
	Ralf Baechle <ralf@linux-mips.org>,
	Andrew Morton <akpm@linuxfoundation.org>, <trivial@kernel.org>
Subject: Re: [PATCH] auxdisplay: use setup_timer
Date: Mon, 13 Mar 2017 10:27:02 -0700	[thread overview]
Message-ID: <1591174.23lsdrNnms@np-p-burton> (raw)
In-Reply-To: <a2978662428c4264097ce6318497ed03d901f4e4.1489061436.git.geliangtang@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1510 bytes --]

Hi Geliang,

On Friday, 10 March 2017 16:46:57 PDT Geliang Tang wrote:
> Use setup_timer() instead of init_timer() to simplify the code.
> 
> Signed-off-by: Geliang Tang <geliangtang@gmail.com>
> ---
>  drivers/auxdisplay/img-ascii-lcd.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/drivers/auxdisplay/img-ascii-lcd.c
> b/drivers/auxdisplay/img-ascii-lcd.c index bf43b5d..1f30b7e 100644
> --- a/drivers/auxdisplay/img-ascii-lcd.c
> +++ b/drivers/auxdisplay/img-ascii-lcd.c
> @@ -393,9 +393,7 @@ static int img_ascii_lcd_probe(struct platform_device
> *pdev) ctx->scroll_rate = HZ / 2;
> 
>  	/* initialise a timer for scrolling the message */
> -	init_timer(&ctx->timer);
> -	ctx->timer.function = img_ascii_lcd_scroll;
> -	ctx->timer.data = (unsigned long)ctx;
> +	setup_timer(&ctx->timer, img_ascii_lcd_scroll, (unsigned long)ctx);
> 
>  	platform_set_drvdata(pdev, ctx);

Thanks for the patch:

    Reviewed-by: Paul Burton <paul.burton@imgtec.com>

I've CC'd Ralf & Andrew since a couple of other patches to this driver have 
been waiting for someone to merge them for a while, and whilst it's unclear 
which path those patches & this one should take into mainline they've been 
suggested so far (besides Miguel who seems not to be active).

I've also CC'd the trivial patch monkey in case this can get in through that 
route, though I'm unsure whether CC'ing on a reply is sufficient so you might 
like to resend with trivial@kernel.org CC'd on the patch.

Thanks,
    Paul

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2017-03-13 17:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-11  0:46 [PATCH] ACPI / APEI: use setup_deferrable_timer Geliang Tang
2017-03-11  0:46 ` [PATCH] ambassador: use setup_timer Geliang Tang
2017-03-13  6:47   ` David Miller
2017-03-11  0:46 ` [PATCH] auxdisplay: " Geliang Tang
2017-03-13 17:27   ` Paul Burton [this message]
2017-03-11  0:46 ` [PATCH] Bluetooth: bluecard: " Geliang Tang
2017-03-27 14:11   ` Marcel Holtmann
2017-03-11  0:46 ` [PATCH] drop_monitor: " Geliang Tang
2017-03-13  6:47   ` David Miller
2017-03-11  0:47 ` [PATCH] fs/ocfs2/cluster: " Geliang Tang
2017-03-11  0:47 ` [PATCH] libata: use setup_deferrable_timer Geliang Tang
2017-03-13 17:07   ` Tejun Heo
2017-03-14 18:06 ` [PATCH] ACPI / APEI: " Baicar, Tyler
2017-04-18 14:41 ` Rafael J. Wysocki
2017-04-18 17:21   ` Borislav Petkov
2017-04-19 10:09 ` [tip:ras/core] ACPI/APEI: Use setup_deferrable_timer() tip-bot for Geliang Tang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1591174.23lsdrNnms@np-p-burton \
    --to=paul.burton@imgtec.com \
    --cc=akpm@linuxfoundation.org \
    --cc=geliangtang@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miguel.ojeda.sandonis@gmail.com \
    --cc=ralf@linux-mips.org \
    --cc=trivial@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome