Re: [RFC PATCH 01/57] drivers: s390/cio: Use driver_for_each_device

From: Sebastian Ott
Date: Mon Jun 17 2019 - 05:26:58 EST

On Mon, 3 Jun 2019, Suzuki K Poulose wrote:
> The cio driver use driver_find_device() to find all devices
> to release them before the driver is unregistered. Instead,
> it could easily use a lighter driver_for_each_device() helper
> to iterate over all the devices.
> Cc: Sebastian Ott <sebott@xxxxxxxxxxxxx>
> Cc: Peter Oberparleiter <oberpar@xxxxxxxxxxxxx>
> Cc: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>

Reviewed-by: Sebastian Ott <sebott@xxxxxxxxxxxxx>