• Tomas Winkler's avatar
    mei: bus: fix drivers and devices names confusion · b37719c3
    Tomas Winkler authored
    In the mei bus layer there is use of different variables
    of driver and device types with no clear naming convention.
    There are generic struct device and struct driver,
    then mei_cl_{device, driver}, and finally mei_device which
    in this context serves as a bus device.
    
    The patch sets following naming convention:
    
    the variables of type struct device remains dev
    the variables of type struct driver remains drv
    the variables of type struct mei_cl_device are now cldev
    the variables of type struct mei_cl_driver are now cldrv
    the variables of type struct mei_device are now bus, in bus
    layer context
    Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    b37719c3
nfc.c 8.27 KB