Re: [PATCH 2/3] staging: vme: add struct vme_dev for VME devices

From: Emilio G. Cota
Date: Mon Aug 29 2011 - 10:57:46 EST


On Mon, Aug 29, 2011 at 11:02:49 +0200, Manohar Vanga wrote:
> Instead of using a vanilla 'struct device' for VME devices, add new
> 'struct vme_dev'. Modifications have been made to the VME framework
> API as well as all in-tree VME drivers.
>
> The new vme_dev structure has the following advantages from the
> current model used by the driver:
>
> * Driver functions (probe, remove) now receive a VME device
> instead of a pointer to the bridge device (cleaner design)
> * It's easier to differenciate API calls as bridge-based or
> device-based (ie. cleaner interface).
>
> Signed-off-by: Manohar Vanga <manohar.vanga@xxxxxxx>

Reviewed-by: Emilio G. Cota <cota@xxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/