<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/staging/panel, branch v3.19</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<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>
<entry>
<title>staging: panel: Call init function directly</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:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=d9114767d1d19a77ebfbab6764281abf84df7862'/>
<id>d9114767d1d19a77ebfbab6764281abf84df7862</id>
<content type='text'>
Remove useless function and let the kernel call the actual
init function directly.

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 useless function and let the kernel call the actual
init function directly.

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: Set default parport module param value</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:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=59a66a24e2e0658cabbabe5b5426ef4aafe87b12'/>
<id>59a66a24e2e0658cabbabe5b5426ef4aafe87b12</id>
<content type='text'>
Set default parport module param value to DEFAULT_PARPORT so that
a if-block can be avoided.

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>
Set default parport module param value to DEFAULT_PARPORT so that
a if-block can be avoided.

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 better names for two defined values</title>
<updated>2014-11-26T21:53:25+00:00</updated>
<author>
<name>Mariusz Gorski</name>
<email>marius.gorski@gmail.com</email>
</author>
<published>2014-11-12T01:08:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=98fac3d3dbf467542e49b44fdf8809c62ba5f44e'/>
<id>98fac3d3dbf467542e49b44fdf8809c62ba5f44e</id>
<content type='text'>
Give DEFAULT_KEYPAD and DEFAULT_LCD defines better names,
so that their meaning is emphasized.

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>
Give DEFAULT_KEYPAD and DEFAULT_LCD defines better names,
so that their meaning is emphasized.

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>
