staging: rts5208: Comparison to NULL

Fix to resolve checkpatch message

Signed-off-by: Wayne Porter <wporter82@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Wayne Porter 2016-10-11 21:56:44 +00:00 committed by Greg Kroah-Hartman
parent 911e84a09a
commit a38e369b31

View File

@ -986,7 +986,7 @@ int card_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip,
unsigned int lun = SCSI_LUN(srb);
int i;
if (chip->rw_card[lun] == NULL) {
if (!chip->rw_card[lun]) {
rtsx_trace(chip);
return STATUS_FAIL;
}