driver: l3gd20h: Fix maximal ODR
Be sure EC max frequency is taken into account.
[The component does not seem to be used.]
BRANCH=none
TEST=Compile
/* Min and Max sampling frequency in mHz */
#define L3GD20_GYRO_MIN_FREQ 12500
-#define L3GD20_GYRO_MAX_FREQ 800000
+#define L3GD20_GYRO_MAX_FREQ \
+ MOTION_MAX_SENSOR_FREQUENCY(800000, L3GD20_GYRO_MIN_FREQ)
/*
* Register : STATUS_REG
