From: Allen Pais <hidden> Date: 2020-08-17 09:02:30
From: Allen Pais <redacted>
Commit 12cc923f1ccc ("tasklet: Introduce new initialization API")'
introduced a new tasklet initialization API. This series converts
all the usb drivers to use the new tasklet_setup() API
Allen Pais (7):
usb: atm: convert tasklets to use new tasklet_setup() API
usb: c67x00: convert tasklets to use new tasklet_setup() API
usb: hcd: convert tasklets to use new tasklet_setup() API
usb/gadget: f_midi: convert tasklets to use new tasklet_setup() API
usb/gadget: fsl_qe_udc: convert tasklets to use new tasklet_setup()
API
usb: xhci: convert tasklets to use new tasklet_setup() API
usb: mos7720: convert tasklets to use new tasklet_setup() API
drivers/usb/atm/usbatm.c | 14 ++++++++------
drivers/usb/c67x00/c67x00-sched.c | 7 +++----
drivers/usb/core/hcd.c | 6 +++---
drivers/usb/gadget/function/f_midi.c | 6 +++---
drivers/usb/gadget/udc/fsl_qe_udc.c | 7 +++----
drivers/usb/host/xhci-dbgtty.c | 6 +++---
drivers/usb/serial/mos7720.c | 8 ++++----
7 files changed, 27 insertions(+), 27 deletions(-)
--
2.17.1
From: Allen Pais <hidden> Date: 2020-08-17 09:02:34
From: Allen Pais <redacted>
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/usb/atm/usbatm.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 09:02:40
From: Allen Pais <redacted>
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/usb/c67x00/c67x00-sched.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 09:02:53
From: Allen Pais <redacted>
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/usb/core/hcd.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 09:02:56
From: Allen Pais <redacted>
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/usb/gadget/function/f_midi.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 09:02:59
From: Allen Pais <redacted>
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/usb/host/xhci-dbgtty.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From: Allen Pais <hidden> Date: 2020-08-17 09:03:09
From: Allen Pais <redacted>
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/usb/gadget/udc/fsl_qe_udc.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
@@ -923,9 +923,9 @@ static int qe_ep_rxframe_handle(struct qe_ep *ep)return0;}-staticvoidep_rx_tasklet(unsignedlongdata)+staticvoidep_rx_tasklet(structtasklet_struct*t){-structqe_udc*udc=(structqe_udc*)data;+structqe_udc*udc=from_tasklet(udc,t,rx_tasklet);structqe_ep*ep;structqe_frame*pframe;structqe_bd__iomem*bd;
@@ -2553,8 +2553,7 @@ static int qe_udc_probe(struct platform_device *ofdev)DMA_TO_DEVICE);}-tasklet_init(&udc->rx_tasklet,ep_rx_tasklet,-(unsignedlong)udc);+tasklet_setup(&udc->rx_tasklet,ep_rx_tasklet);/* request irq and disable DR */udc->usb_irq=irq_of_parse_and_map(np,0);if(!udc->usb_irq){
From: Allen Pais <hidden> Date: 2020-08-17 09:03:15
From: Allen Pais <redacted>
In preparation for unconditionally passing the
struct tasklet_struct pointer to all tasklet
callbacks, switch to using the new tasklet_setup()
and from_tasklet() to pass the tasklet pointer explicitly.
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Allen Pais <redacted>
---
drivers/usb/serial/mos7720.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)