[WCNCR00148245] misc: Fix invalid length return in efuse ops

[Description]
Fix invalid length return in efuse ops

In efuse-related APIs, pointer-type argument is used in sizeof().
We would always get 4(32 bits)/8(64 bit) and it cannot satisfy
the principle of sanity check.

Use real structure typedef instead of pointer-type definition to get
the real length of target object.

Feature: misc
Change-Id: If8da4cc3b28a53b5429d9398b21e711c901203ca
Signed-off-by: Deren Wu <deren.wu@mediatek.com>
CR-Id: WCNCR00148245
1 file changed