sensor: bmi08x: Fix variable name in bmi08x_acc_trigger_mode_init

Fix undeclared variable error by changing 'config' to 'cfg' in the
data_sync condition check, matching the variable name declared at the
beginning of the function.

Signed-off-by: Liang Jiaxiang <moonbite233@gmail.com>
1 file changed