realtek: Fix self assignment
authorRafał Mikrut <mikrutrafal@protonmail.com>
Tue, 8 Dec 2020 20:54:40 +0000 (21:54 +0100)
committerPetr Štetiar <ynezz@true.cz>
Fri, 11 Dec 2020 12:48:24 +0000 (13:48 +0100)
commit848d668427c544d20f8aa3041fa11b4d4adc9bc8
tree6cda0625549349ea7a58ba39d6b5b3371eff56ba
parentd82c1912838f262b6f4b9157077f390f5f06b6c4
realtek: Fix self assignment

Cppcheck shows self initialization error, which is an obvious bug.

Basing on logic of similar fragment below I assigned to this variable,
value `RTL838X_LED_GLB_CTRL` which I think is proper.

Signed-off-by: Rafał Mikrut <mikrutrafal@protonmail.com>
target/linux/realtek/files-5.4/drivers/gpio/gpio-rtl838x.c