Tag: e0c8a1f52d0d3dc5f79ce04d7bf6da0782dcee16

mfd: menelaus: Remove null pointer dereference

Author: Himangi Saraogi <himangi774@gmail.com> If vtg is NULL, it is not possible to access its mode_reg field. At all sites where the static function menelaus_set_voltage is called, the first argument is the address of a structure defined in the file. So, the null test is unnecessary and is removed. Also, a label is done away …

Continue reading