Skip to contentSkip to conversation

Moving the lis3lv02d driver

lm-sensors Guenter Roeck 2 participants 4 messages Feb 17, 2011 – Feb 18, 2011

lore
Share & tools
lore
#1 lore raw

Hi Guenter,

Quoted 4 lines · Guenter Roeck

we discussed moving the lis3lv02d driver to another location earlier.

Unfortunately, I don't find the thread anymore, and I don't recall if we reached a conclusion where to move it to.

I think you are looking for this thread:
http://www.spinics.net/lists/linux-input/msg11585.html

Quoted 1 line

Any thoughts ?

I would be happy with _any_ solution which moves the lis3lv02d driver outside of drivers/hwmon.

The difficulty I see is that hp_accel depends on lis3lv02d, and hp_accel would normally go to drivers/platform/x86, but lis3lv02d can't live there. So doing the right thing would need some work to fix the dependencies.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#2 lore raw
In reply to Guenter Roeck
Quoted 14 lines · Jean Delvare

Hi Guenter,

Quoted 4 lines · Guenter Roeck

we discussed moving the lis3lv02d driver to another location earlier.

Unfortunately, I don't find the thread anymore, and I don't recall if we reached a conclusion where to move it to.

I think you are looking for this thread:
http://www.spinics.net/lists/linux-input/msg11585.html

Quoted 1 line

Any thoughts ?

Quoted 8 lines

I would be happy with _any_ solution which moves the lis3lv02d driver outside of drivers/hwmon.

The difficulty I see is that hp_accel depends on lis3lv02d, and hp_accel would normally go to drivers/platform/x86, but lis3lv02d can't live there. So doing the right thing would need some work to fix the dependencies.

Ah yes, that problem. And moving all of it to misc wouldn't be that good either.

No idea how to get rid of those dependencies. Maybe we'll need to wait until iio/accel is ready after all.

Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw
In reply to Guenter Roeck
Quoted 23 lines · Guenter Roeck
Quoted 14 lines · Jean Delvare

Hi Guenter,

Quoted 4 lines · Guenter Roeck

we discussed moving the lis3lv02d driver to another location earlier.

Unfortunately, I don't find the thread anymore, and I don't recall if we reached a conclusion where to move it to.

I think you are looking for this thread:
http://www.spinics.net/lists/linux-input/msg11585.html

Quoted 1 line

Any thoughts ?

Quoted 8 lines

I would be happy with _any_ solution which moves the lis3lv02d driver outside of drivers/hwmon.

The difficulty I see is that hp_accel depends on lis3lv02d, and hp_accel would normally go to drivers/platform/x86, but lis3lv02d can't live there. So doing the right thing would need some work to fix the dependencies.

Quoted 4 lines

Ah yes, that problem. And moving all of it to misc wouldn't be that good either.

No idea how to get rid of those dependencies. Maybe we'll need to wait until iio/accel is ready after all.

Well, I see no reason [1] why hp_accel couldn't live in drivers/platform/x86 and select every piece it needs. This could be a start.

[1] But I didn't try either. I guess I am missing something.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors