mbox series

[v2,0/2] mei: bus: Some cleanups

Message ID 20210208073705.428185-1-uwe@kleine-koenig.org
Headers show
Series mei: bus: Some cleanups | expand

Message

Uwe Kleine-König Feb. 8, 2021, 7:37 a.m. UTC
Hello,

changes since v1:
 - Added a missing ; found by kernel test robot, thanks
 - Added an Ack for Guenter

rangediff can be found below.

Uwe Kleine-König (2):
  mei: bus: simplify mei_cl_device_remove()
  mei: bus: change remove callback to return void

 drivers/misc/mei/bus.c           | 11 +++--------
 drivers/misc/mei/hdcp/mei_hdcp.c |  7 +++++--
 drivers/nfc/microread/mei.c      |  4 +---
 drivers/nfc/pn544/mei.c          |  4 +---
 drivers/watchdog/mei_wdt.c       |  4 +---
 include/linux/mei_cl_bus.h       |  2 +-
 6 files changed, 12 insertions(+), 20 deletions(-)

Range-diff against v1:
-:  ------------ > 1:  86b2bf521a84 mei: bus: simplify mei_cl_device_remove()
1:  10a3dfb49d4f ! 2:  807117116ccb mei: bus: change remove callback to return void
    @@ Commit message
         return an error value is modified to emit an explicit warning in the error
         case.
     
    +    Acked-by: Guenter Roeck <linux@roeck-us.net>
         Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
     
      ## drivers/misc/mei/bus.c ##
    @@ drivers/misc/mei/hdcp/mei_hdcp.c: static int mei_hdcp_probe(struct mei_cl_device
     -	return mei_cldev_disable(cldev);
     +	ret = mei_cldev_disable(cldev);
     +	if (ret)
    -+		dev_warn(&cldev->dev, "mei_cldev_disable() failed\n")
    ++		dev_warn(&cldev->dev, "mei_cldev_disable() failed\n");
      }
      
      #define MEI_UUID_HDCP GUID_INIT(0xB638AB7E, 0x94E2, 0x4EA2, 0xA5, \

base-commit: 5c8fe583cce542aa0b84adc939ce85293de36e5e