Home
last modified time | relevance | path

Searched hist:"98 cda6a2e0d46507c084bf1488f5627b9e487a2a" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/scsi/
H A Desp_scsi.hdiff 98cda6a2e0d46507c084bf1488f5627b9e487a2a Sat Oct 13 02:26:25 CDT 2018 Christoph Hellwig <hch@lst.de> scsi: esp_scsi: use strong typing for the dev field

esp->dev is a void pointer that points either to a struct device, or a
struct platform_device. As we can easily get from the device to the
platform_device if needed change it to always point to a struct device
and properly type the pointer to avoid errors.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
H A Dsun_esp.cdiff 98cda6a2e0d46507c084bf1488f5627b9e487a2a Sat Oct 13 02:26:25 CDT 2018 Christoph Hellwig <hch@lst.de> scsi: esp_scsi: use strong typing for the dev field

esp->dev is a void pointer that points either to a struct device, or a
struct platform_device. As we can easily get from the device to the
platform_device if needed change it to always point to a struct device
and properly type the pointer to avoid errors.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
H A Dmac_esp.cdiff 98cda6a2e0d46507c084bf1488f5627b9e487a2a Sat Oct 13 02:26:25 CDT 2018 Christoph Hellwig <hch@lst.de> scsi: esp_scsi: use strong typing for the dev field

esp->dev is a void pointer that points either to a struct device, or a
struct platform_device. As we can easily get from the device to the
platform_device if needed change it to always point to a struct device
and properly type the pointer to avoid errors.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>