• Venu Byravarasu's avatar
    mfd: rc5t583: Fix warning messages · 0dd96360
    Venu Byravarasu authored
    Two variables named master_int and sleepseq_val, were just
    declared without initialization. Pointers to these variables
    were passed to mfd read function. After that these variables
    were used for some of the logical operations.
    
    Though logically there is nothing wrong, compiler is complaining
    that the variables may be used uninitialized.
    
    Hence fixing these warning messages by initializing them.
    Signed-off-by: default avatarVenu Byravarasu <vbyravarasu@nvidia.com>
    Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
    0dd96360
rc5t583-irq.c 11.5 KB