Use the actual parameter types in PSearchMethodFunc instead of void pointers
for PS error logic for EC
Merge pull request #810 from huili2/ps_error_logic_ec

for PS error logic for EC
Merge pull request #808 from mstorsjo/use-correct-param-types

Use the actual parameter types in PSearchMethodFunc instead of void pointers