<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/staging/panel, branch v4.0</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>drivers/staging: use current-&gt;state helpers</title>
<updated>2015-01-28T19:25:28+00:00</updated>
<author>
<name>Davidlohr Bueso</name>
<email>dave@stgolabs.net</email>
</author>
<published>2015-01-26T10:15:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=2be90fef97ada3df61736435dc9ef6c3e432a747'/>
<id>2be90fef97ada3df61736435dc9ef6c3e432a747</id>
<content type='text'>
Call __set_current_state() instead of assigning the new state directly.
These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments,
keeping track of who changed the state.

Signed-off-by: Davidlohr Bueso &lt;dbueso@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Call __set_current_state() instead of assigning the new state directly.
These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments,
keeping track of who changed the state.

Signed-off-by: Davidlohr Bueso &lt;dbueso@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: panel: Remove magic numbers in LCD commands</title>
<updated>2015-01-12T14:39:33+00:00</updated>
<author>
<name>Mariusz Gorski</name>
<email>marius.gorski@gmail.com</email>
</author>
<published>2014-12-05T21:28:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=2114924a9e94b741bf5dd53fb66970de5dcf7e46'/>
<id>2114924a9e94b741bf5dd53fb66970de5dcf7e46</id>
<content type='text'>
Get rid of magic numbers in LCD commands and replace them with defined
values, so that it's more obvious that the commands are doing.

Signed-off-by: Mariusz Gorski &lt;marius.gorski@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Get rid of magic numbers in LCD commands and replace them with defined
values, so that it's more obvious that the commands are doing.

Signed-off-by: Mariusz Gorski &lt;marius.gorski@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: panel: Remove unused variable</title>
<updated>2015-01-12T14:39:33+00:00</updated>
<author>
<name>Mariusz Gorski</name>
<email>marius.gorski@gmail.com</email>
</author>
<published>2014-12-03T18:53:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=1216ed713bfc53f1d43e220fa7b1713cad466498'/>
<id>1216ed713bfc53f1d43e220fa7b1713cad466498</id>
<content type='text'>
Remove lcd.left_shift because it is only written to at some places but
never read from.

Signed-off-by: Mariusz Gorski &lt;marius.gorski@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove lcd.left_shift because it is only written to at some places but
never read from.

Signed-off-by: Mariusz Gorski &lt;marius.gorski@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: panel: Move LCD-related state into struct lcd</title>
<updated>2014-12-03T00:34:35+00:00</updated>
<author>
<name>Mariusz Gorski</name>
<email>marius.gorski@gmail.com</email>
</author>
<published>2014-11-27T21:36:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=6d8b588c32243a3b6dc63b0153a30f7c17bb2689'/>
<id>6d8b588c32243a3b6dc63b0153a30f7c17bb2689</id>
<content type='text'>
Move more or less all LCD-related state into struct lcd
in order to get better cohesion; use bool instead of int
where it makes sense.

Signed-off-by: Mariusz Gorski &lt;marius.gorski@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move more or less all LCD-related state into struct lcd
in order to get better cohesion; use bool instead of int
where it makes sense.

Signed-off-by: Mariusz Gorski &lt;marius.gorski@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: panel: Remove more magic number comparison</title>
<updated>2014-12-03T00:34:35+00:00</updated>
<author>
<name>Mariusz Gorski</name>
<email>marius.gorski@gmail.com</email>
</author>
<published>2014-11-27T21:36:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=1a4b2e3e6c65655cf1319de5f486c062cd5379da'/>
<id>1a4b2e3e6c65655cf1319de5f486c062cd5379da</id>
<content type='text'>
Use a defined value instead of magic number comparison
for checking whether a module param value has been set.

Signed-off-by: Mariusz Gorski &lt;marius.gorski@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use a defined value instead of magic number comparison
for checking whether a module param value has been set.

Signed-off-by: Mariusz Gorski &lt;marius.gorski@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: panel: Refactor LCD init code</title>
<updated>2014-12-03T00:34:34+00:00</updated>
<author>
<name>Mariusz Gorski</name>
<email>marius.gorski@gmail.com</email>
</author>
<published>2014-11-27T21:36:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=8037e2a3c00dca47ce08fca477394a6c7d82f992'/>
<id>8037e2a3c00dca47ce08fca477394a6c7d82f992</id>
<content type='text'>
Rework lcd_init method to make it a little bit more clear about
the precedence of the params, move LCD geometry and pins layout
to the LCD struct and thus make the LCD-related module params
effectively read-only.

Signed-off-by: Mariusz Gorski &lt;marius.gorski@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rework lcd_init method to make it a little bit more clear about
the precedence of the params, move LCD geometry and pins layout
to the LCD struct and thus make the LCD-related module params
effectively read-only.

Signed-off-by: Mariusz Gorski &lt;marius.gorski@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: panel: Make two more module params read-only</title>
<updated>2014-12-03T00:34:34+00:00</updated>
<author>
<name>Mariusz Gorski</name>
<email>marius.gorski@gmail.com</email>
</author>
<published>2014-11-27T21:36:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=87b8e0c88195cfc98c15e717af87034efba533f6'/>
<id>87b8e0c88195cfc98c15e717af87034efba533f6</id>
<content type='text'>
Make keypad_type and lcd_type module params read-only.
This step also starts making it more clear what is
the precedence of device params coming from different
sources (device profile, runtime module param values etc).

Signed-off-by: Mariusz Gorski &lt;marius.gorski@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make keypad_type and lcd_type module params read-only.
This step also starts making it more clear what is
the precedence of device params coming from different
sources (device profile, runtime module param values etc).

Signed-off-by: Mariusz Gorski &lt;marius.gorski@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: panel: Start making module params read-only</title>
<updated>2014-12-03T00:34:34+00:00</updated>
<author>
<name>Mariusz Gorski</name>
<email>marius.gorski@gmail.com</email>
</author>
<published>2014-11-27T21:36:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=a8b2580b736746a4f978dfebf25be7f3f457bdd8'/>
<id>a8b2580b736746a4f978dfebf25be7f3f457bdd8</id>
<content type='text'>
Start decoupling module params from the actual device state,
both for lcd and keypad, by keeping the params read-only
and moving the device state to related structs.

Signed-off-by: Mariusz Gorski &lt;marius.gorski@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Start decoupling module params from the actual device state,
both for lcd and keypad, by keeping the params read-only
and moving the device state to related structs.

Signed-off-by: Mariusz Gorski &lt;marius.gorski@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: panel: Use defined value or checking module params state</title>
<updated>2014-12-03T00:34:34+00:00</updated>
<author>
<name>Mariusz Gorski</name>
<email>marius.gorski@gmail.com</email>
</author>
<published>2014-11-27T21:36:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=2d35bcf66c61d696d9784fbf42a64daa9df0b068'/>
<id>2d35bcf66c61d696d9784fbf42a64daa9df0b068</id>
<content type='text'>
Avoid magic number and use a comparison with a defined value instead
that checks whether module param has been set by the user to some
value at loading time.

Signed-off-by: Mariusz Gorski &lt;marius.gorski@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid magic number and use a comparison with a defined value instead
that checks whether module param has been set by the user to some
value at loading time.

Signed-off-by: Mariusz Gorski &lt;marius.gorski@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: panel: Remove magic numbers</title>
<updated>2014-12-03T00:34:34+00:00</updated>
<author>
<name>Mariusz Gorski</name>
<email>marius.gorski@gmail.com</email>
</author>
<published>2014-11-27T21:36:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=36277d4ad01a6cb3c9e4b762f412cb45c29aa1ae'/>
<id>36277d4ad01a6cb3c9e4b762f412cb45c29aa1ae</id>
<content type='text'>
Get rid of magic numbers indicating that the value of a module param
is not set. Use a defined value instead.

Signed-off-by: Mariusz Gorski &lt;marius.gorski@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Get rid of magic numbers indicating that the value of a module param
is not set. Use a defined value instead.

Signed-off-by: Mariusz Gorski &lt;marius.gorski@gmail.com&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
